vercel: Cant install


> now@6.3.1 postinstall /usr/local/lib/node_modules/now
> node download/install.js

fs.js:651
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: EACCES: permission denied, open '/usr/local/lib/node_modules/now/download/dist/download.js'
    at Object.fs.openSync (fs.js:651:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/now/download/install.js:19:6)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:575:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! now@6.3.1 postinstall: `node download/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the now@6.3.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/tknipfer/.npm/_logs/2017-06-08T13_51_56_474Z-debug.log```

I keep getting this error when trying to install. Any idea? Im using node 8.1

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

@cfjedimaster Have you fixed your npm permissions? If you haven’t done that before, you’ll most likely have to use sudo npm install now@6.4.0 -g to make it work… 😊