Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

4.5.3 regression on Travis CI breaks builds #1971

Closed
bjornharrtell opened this issue May 18, 2017 · 5 comments
Closed

4.5.3 regression on Travis CI breaks builds #1971

bjornharrtell opened this issue May 18, 2017 · 5 comments

Comments

@bjornharrtell
Copy link

The failure is Error: ENOENT: no such file or directory, scandir '.../node_modules/node-sass/vendor. Downgrading to version 4.5.2 resolves the issue.

Cannot reproduce locally and as it's a managed environment I can only extract some of the version information from the build log:

$ node --version
v6.10.3
$ npm --version
3.10.10
$ nvm --version
0.33.2

Travis configuration:
https://github.com/miguelcobain/ember-paper/blob/cef52e7638615e44249775b0663ba8f48d7bb8c1/.travis.yml

Failing job:
https://travis-ci.org/miguelcobain/ember-paper/jobs/233735922

Successful job:
https://travis-ci.org/miguelcobain/ember-paper/jobs/233735922

The only difference is the node-sass version.

@nschonni
Copy link
Contributor

The only think 4.5.3 added as support for another module version of Node 8 v4.5.2...v4.5.3
This looks like another general yarn caching issue #1804

@bjornharrtell
Copy link
Author

Sounds like a reasonable explanation but using --force or removing Yarn cache usage in .travis.yml does not appear to help.

@xzyfer
Copy link
Contributor

xzyfer commented May 18, 2017 via email

@bjornharrtell
Copy link
Author

bjornharrtell commented May 18, 2017

Confirmed to be more or less the same issue as described in yarnpkg/yarn#1981. The workaround npm rebuild node-sass run as the postinstall script works in my case too. Sorry for the noise.

@StfBauer
Copy link

Had the same issue but instead of adding it inside the package.json a put the following code in the .travis.yml

before_script: npm rebuild node-sass;

Works great for me.

Taranys added a commit to Taranys/ng-selector that referenced this issue Dec 15, 2017
Taranys added a commit to Taranys/ng-selector that referenced this issue Dec 15, 2017
Taranys added a commit to Taranys/ng-selector that referenced this issue Dec 15, 2017
* 💚 avoid node-sass issue

sass/node-sass#1971

* 💚 disable tests for now
fpenim added a commit to EMBL-EBI-SUBS/json-schema-validator that referenced this issue Jan 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants