mapshaper
mapshaper copied to clipboard
Unable to `npm install`
I've tried:
npm install mapshaper
npm install -g mapshaper
I've also tried download the repo and doing a npm install
I've also tried the commands with sudo
I've attached the logs (see below). I'm getting EISDIR errors, which seems to suggest that it's trying to open a file but it's a directory. Does anyone have any resolutions to this issue?
npm WARN tar EISDIR: ill
egal operation on a directory, open '/Users/name/Documents/Github/mapshaper/node_modules/.staging/browserify-4672fdfb/test/unicode'
npm WARN tar EISDIR: illegal operation on a directory, open '/Users/name/Documents/Github/mapshaper/node_modules/.staging/browserify-4672fdfb/test/yield'
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
Hi, just saw this issue. Have you been able to resolve the problem? It seems like it might be an issue with your node/npm install, rather than a mapshaper-specific problem. A Google search turned up a few other people with EISDIR errors running v6.9.0 of npm. Several reported that updating Node (with a different version of npm) solved the problem. Have you tried re-installing or updating Node?