sharedstreets / mobility-metrics

Tools for collecting, processing, and interpreting mobility data using SharedStreets
MIT License
49 stars 17 forks source link

Problem installing mobility-metrics on Linux #113

Open armcoder89 opened 3 years ago

armcoder89 commented 3 years ago

I am having issues installing mobility-metrics with the "npm install -g mobility-metrics" command.

image

I believe the issue is with the node-pre-gyp deprecation. I have tried the instructions found here, and I keep getting the same error.

My npm and node-gyp are up to date, so I know those are not the issues.

jwoyame commented 3 years ago

You probably have found a solution or moved on by now, but the general solution to fix this node-gyp error is to remove all trace of Node and NPM and reinstall them from scratch. I see you're using EC2, so perhaps you can try on a fresh instance.