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 issues #150

Closed
andrewgoodchild opened this issue Sep 2, 2016 · 4 comments
Closed

npm install issues #150

andrewgoodchild opened this issue Sep 2, 2016 · 4 comments

Comments

@andrewgoodchild
Copy link

Hi

I am having trouble npm installing mapnik-omnivore inside an Ubuntu 14.04 LTS docker container.
npm reports node-gyp is having trouble building node-gdal. I can get the latest version of node-gdal to install fine. But the version of node-gdal required by mapnik-omnivore wont build.

Does someone have a dockerfile I can look at that will help me get any dependencies right?

thanks, Andrew

@springmeyer
Copy link
Contributor

npm reports node-gyp is having trouble building node-gdal Probably because you are using node v6? If so downgrade to node v4 until #138 lands (because only node-gdal@0.9.x supports node v6). Another common problem on docker is running as root: Either don't run as root or pass --unsafe-perm. More details at mapbox/node-pre-gyp#165.

@andrewgoodchild
Copy link
Author

Thanks @springmeyer - that is very helpful. I should have looked more closely at the version of node.

Do you think #138 is likely to happen soon? Just so I know if I need to be working on a stop gap based on node 4.

@springmeyer
Copy link
Contributor

Hopefully #138 will land in the next couple weeks.

@andrewgoodchild
Copy link
Author

:-)

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