mapshaper icon indicating copy to clipboard operation
mapshaper copied to clipboard

Unable to `npm install`

Open breadplop opened this issue 4 years ago • 1 comments

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>

error_logs.txt

breadplop avatar Aug 08 '19 02:08 breadplop

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?

mbloch avatar Aug 20 '19 19:08 mbloch