Skip to content
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 fails #814

Closed
sommerluk opened this issue Oct 13, 2017 · 1 comment
Closed

NPM install fails #814

sommerluk opened this issue Oct 13, 2017 · 1 comment

Comments

@sommerluk
Copy link

Hello.

I've tried to install kosmtik in npm, which seems to have mapnik as dependency. Now the installation fails. I've tried in openSUSE 42.3 and Kubuntu 16.04, with the same result. Here is the attached log:

npm-debug.log

@springmeyer
Copy link
Member

You are hitting a bad interaction between the latest npm 3.5.x and older node-mapnik releases (released well before npm 3.5.x came out).

The diagnostic error is:

9387 warn enoent ENOENT: no such file or directory, open '/home/sommerluk/Dokumente/OSM/kosmtik/package.json'

Which indicates to be that the following workarounds will likely fix the problem:

  • Downgrade npm to 2.x
  • Upgrade node-mapnik to the latest 3.6.x release

refs mapbox/node-pre-gyp#260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants