caspervonb / amokify

Other
25 stars 2 forks source link

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

Open shipstar opened 9 years ago

shipstar commented 9 years ago

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 commented 9 years ago

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?

caspervonb commented 9 years ago

Keep it open for now.

Will a version of 0.0.0 satisfy npm?

caspervonb commented 9 years ago

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

acarlstein commented 6 years ago

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

caspervonb commented 6 years ago

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