New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error during installation on MacOS #20770
Comments
On the face of it looks like it is a gcc compiler version mismatch. From the message: looks like the module owners anticipated such issues for users, created pre-built binaries that do not depend on the compiler version (but on runtime libraries that are relatively compatible across a wider range) - but looks like they haven't yet prepare such a pre-built binary for Node.js version v10.1.0
Options are ordered in the increasing level of effort. :) |
I was updating from |
Not sure if there is a need to have the latest version while having nodejs just to run Angular/ReactJS/WebPack/Gulp |
IMHO the problem is similar to this, see
|
@gultyaev As a workaround you could always downgrade to node@9 |
Closing, this has nothing to do with node.js itself and everything with the module you're trying to install/build - which isn't the latest version so upgrade it. |
You are likely facing an issue fixed by fsevents/fsevents@10ab073 , updating fsevents or nan on your dependency chain one way or another may fix the compilation error with Node 10. |
It's been over a year, but just in case anyone faces this problem again. on my Mac OS, I removed the yarn.lock file and tried 'yarn install' again |
From: yarnpkg/yarn#5962 (comment) This is what worked for me:
|
@Princemo4 where is the yarn.lock file? I don't see on my system. |
Still facing this issue. Deleted the package-lock.json too. |
Not sure whether I've chosen the right topic but this error appears if I install any package.
Node version v10.1.0
npm version 6.0.1
The text was updated successfully, but these errors were encountered: