Monday 5 June 2017

npm install -g actually doesn't download anything

https://github.com/imkimchi/covfefe-tweet Here's the module that I made, written in ES6 with babel. as you can see in package.json It compiles every code to src directory.

The issue is that npm install -g covfefe-tweet actually doesn't download anything and occurs error. Here's the error below. I have no idea why It doesn't work. It's first time publishing to npm so can somebody know why?

bash-3.2# npm install -g covfefe-tweet
npm ERR! Darwin 16.0.0
npm ERR! argv "/Users/philip/.nvm/versions/node/v7.9.0/bin/node" "/Users/philip/.nvm/versions/node/v7.9.0/bin/npm" "install" "-g" "covfefe-tweet"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! path /Users/philip/.nvm/versions/node/v7.9.0/lib/node_modules/covfefe-tweet/src/index.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/philip/.nvm/versions/node/v7.9.0/lib/node_modules/covfefe-tweet/src/index.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/philip/.nvm/versions/node/v7.9.0/lib/node_modules/covfefe-tweet/src/index.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.



via Phillip YS

No comments:

Post a Comment