Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install on cugos2.0 doesn't work #25

Closed
mapsam opened this issue Apr 16, 2014 · 1 comment
Closed

npm install on cugos2.0 doesn't work #25

mapsam opened this issue Apr 16, 2014 · 1 comment
Assignees
Labels

Comments

@mapsam
Copy link
Member

mapsam commented Apr 16, 2014

When cloning the development branch on a new local and running npm install in the src directory I get a bunch of errors:

Sam-Matthews:src sammatthews$ npm install
npm ERR! install Couldn't read dependencies
npm ERR! Error: Invalid name: "cugos development"
npm ERR!     at ensureValidName (/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:297:15)
npm ERR!     at Object.module.exports.fixNameField (/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:201:5)
npm ERR!     at /usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:29:38
npm ERR!     at Array.forEach (native)
npm ERR!     at normalize (/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js:28:15)
npm ERR!     at final (/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/read-package-json/read-json.js:310:33)
npm ERR!     at then (/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:33)
npm ERR!     at /usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/read-package-json/read-json.js:284:48
npm ERR!     at fs.js:207:20
npm ERR!     at OpenReq.Req.done (/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:142:5)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Darwin 10.8.0
npm ERR! command "/usr/local/Cellar/node/0.10.22/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/sammatthews/Documents/projects/cugos.github.com/src
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/sammatthews/Documents/projects/cugos.github.com/src/npm-debug.log
npm ERR! not ok code 0
@mapsam mapsam added this to the Redesign Launch milestone Apr 16, 2014
@mapsam mapsam added the bug label Apr 16, 2014
@mapsam mapsam self-assigned this Apr 16, 2014
@mapsam
Copy link
Member Author

mapsam commented Apr 16, 2014

Hm, I guess you can't have a string with spaces in your package.json's name

Learn more in this slightly passive aggressive issue thread

@mapsam mapsam closed this as completed Apr 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant