-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
npm install --save mapbox-gl error #5025
Comments
HI, there! I'm getting the similar error when trying to This is what I got from the terminal:
I've also attached the npm log file: 😃 |
Yep, your log looks the same as mine! I have tried using sudo as well. |
However it works if I install the previous version by |
Brilliant, this version works for me also. Thank you very much! :) |
+1 |
Node: 8.1.4
success: react-mapbox-gl@2.1.0 error log for mapbox-gl:
npm ERR! code ENOTFOUND |
Can confirm 0.39 doesn't seem to work. Tried upgrading from 0.38 but getting the same error with yarn: |
v0.39.0 will lead |
Same issue here. Maybe problem with path in package.json dependency for style-spec NPM doesn't define current path without |
Same with yarn. Can't add or upgrade to the latest version of mapbox-gl |
Thanks everyone. We are aware of the issue. No need for further +1s. |
0.39.0 was broken at the time of building this, see mapbox/mapbox-gl-js#5025.
Fixed in 0.39.1. |
@jfirebaugh Hi , I am using version 0.40.1 and still seeing the same issue when trying to test the provided example, Have also tried 0.39.1, same issue |
Following the instructions from the documentation. I create a new directory, and cd into it and run the command
npm install --save mapbox-gl
.This results in the following error:
npm ERR! addLocal Could not install /Users/user/Sites/fallenleaves/node_modules/mapbox-gl/src/style-spec
It also made an npm-debug.log file. Let me know if a gist of this would be helpful.
I have never experienced this sort of error before with npm so I did some digging and couldn't find anything helpful. Not sure if this is to do with my setup, mapbox or npm. Any help appreciated.
The text was updated successfully, but these errors were encountered: