Closed jeandat closed 4 years ago
We actually build and test with this combination in CI. It's likely that you're running into uses somewhere with the combination of Yarn and NVM handling native modules at all, rather than anything particularly with node-sass. the errro line is coming from core Node headers
We actually build and test with this combination in CI
Are you testing with yarn too?
It seem to me is that the compile error occurs in /Users/jeandat/Developer/jeandat/liveaction/project-eyelo-ng2/node_modules/@angular-devkit/build-angular/node_modules/node-sass/bui ld/config.gypi
which contains node-sass 4.11 and not 4.13.
Y
I'm going to migrate to angular 9 when it is released which will upgrade @angular-devkit/build-angular dependency. Thus if problem persist with angular 9 I will post an update. Thanks.
What version of node-gyp
is being used? The error log above says:
gyp info using node-gyp@3.8.0
Does upgrading to node-gyp@6.1.0 change things? https://github.com/nodejs/node-gyp/releases
What version of
node-gyp
is being used? The error log above says:gyp info using node-gyp@3.8.0
Does upgrading to node-gyp@6.1.0 change things? https://github.com/nodejs/node-gyp/releases
Didn't help for me. But downgrading node to 10 did.
Overview
Using latest version of node-sass with latest version of node 12 fail with this error:
Full error log
Trace
Context