Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

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

Open
shipstar opened this issue Sep 6, 2015 · 5 comments
Open

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

shipstar opened this issue Sep 6, 2015 · 5 comments

Comments

@shipstar
Copy link

shipstar commented Sep 6, 2015

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
Copy link
Author

shipstar commented Sep 6, 2015

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
Copy link
Owner

Keep it open for now.

Will a version of 0.0.0 satisfy npm?

@caspervonb
Copy link
Owner

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

@acarlstein
Copy link

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

@caspervonb
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants