amokify icon indicating copy to clipboard operation
amokify copied to clipboard

`npm install` fails due to missing version in package.json

Open shipstar opened this issue 9 years ago • 5 comments

Using npm v2.12.1:

➜  client git:(amokify) ✗ npm install --save-dev caspervonb/amokify
npm ERR! addLocal Could not install /var/folders/rs/k1q260bx1q73kcqyy8t2vq080000gn/T/npm-83810-8d0bb289/git-cache-4788f2bb8499/b39e148d46c3222a42b10f4852389c66f2f7d566
npm ERR! addLocal Could not install /var/folders/rs/k1q260bx1q73kcqyy8t2vq080000gn/T/npm-83810-8d0bb289/git-cache-4b788ae02feb/b39e148d46c3222a42b10f4852389c66f2f7d566
npm ERR! addLocal Could not install /var/folders/rs/k1q260bx1q73kcqyy8t2vq080000gn/T/npm-83810-8d0bb289/git-cache-de9f87484014/b39e148d46c3222a42b10f4852389c66f2f7d566
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm  v2.12.1

npm ERR! No version provided in package.json
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/kshipley/Programming/rms/client/npm-debug.log

I also tried adding it directly to package.json with a branch name / SHA and that failed too.

(It's possible that npm 3 is more lenient on this, but don't have it handy on this machine.)

shipstar avatar Sep 06 '15 14:09 shipstar

Looks like other people are on it! Just saw #5.

Feel free to close, or maybe keep this open until you add a version just to avoid dupes?

shipstar avatar Sep 06 '15 14:09 shipstar

Keep it open for now.

Will a version of 0.0.0 satisfy npm?

caspervonb avatar Sep 06 '15 16:09 caspervonb

I'll try with a branch later and git install it. Works with file system installs but so does no version.

caspervonb avatar Sep 06 '15 16:09 caspervonb

I got the same issue even do I added a version to the package.json in my local module

acarlstein avatar May 15 '18 22:05 acarlstein

@acarlstein Workspaces in Chrome developer tools now do most of what amok did, unmaintained for quite a while.

caspervonb avatar May 19 '18 23:05 caspervonb