Skip to content

npm isn't able to install nodeunit due to incorrect path - #8

Closed
gerad wants to merge 1 commit into
caolan:masterfrom
gerad:master
Closed

gerad wants to merge 1 commit into
caolan:masterfrom
gerad:master

Conversation

@gerad

@gerad gerad commented Sep 21, 2010

Copy link
Copy Markdown
Contributor

it looks like when you're installing a binary you need to give npm the js extension...

I was getting this error:
$ npm install nodeunit
npm info it worked if it ends with ok
npm info version 0.2.0
npm info install [email protected]
npm ERR! failed to link bins
npm ERR! install failed Error: ENOENT, No such file or directory '/usr/local/lib/node/.npm/nodeunit/0.2.0/package/lib/testrunner'
npm ERR! install failed at node.js:757:9
npm info install failed rollback
npm info not installed nodeunit,0.2.0
npm info install failed rolled back
npm ERR! Error: ENOENT, No such file or directory '/usr/local/lib/node/.npm/nodeunit/0.2.0/package/lib/testrunner'
npm ERR! at node.js:757:9
npm ERR! try running: 'npm help install'
npm ERR! Report this entire log at http://github.com/isaacs/npm/issues
npm ERR! or email

The minor tweak I made seems to have fixed it.

@caolan

caolan commented Sep 21, 2010

Copy link
Copy Markdown
Owner

Thanks, I've merged this in. There is no need to remove yourself from the contributor list unless you don't want to be on there. Feel free to add a link to your profile if you like.

@gerad

gerad commented Sep 21, 2010

Copy link
Copy Markdown
Contributor Author

Thanks for merging!

No worries about the contributor list, I just felt I was being honored for something I hadn't earned. I'm certainly willing to take the free credit though! :-)

I'll feel free to tweak, but it's not a big deal (to me) either way. :-)

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants