Repository navigation
npm won't run the command. #32
Description
Activity
Could you please post the entire output of the command
npm install -g nodebot-workshopits fairly large so i have put it on hastebin
hereHmm, a bunch of that looks weird:
- It appears to be trying to rename a bunch of directories under
/Users/useruser/.npm-packages/.npm-packages/...- the double.npm-packageslooks odd - does this directory exist? - ENOENT during npm install npm/npm#9633 seems to suggest running
npm cache cleanmight help, failing that you could try deleting the directory/Users/useruser/.npm-packages - Could you post the contents of
~/.npmrcif it exists? (remove any auth keys before you do) - When an install fails, there's usually a path to npm-debug.log file at the end - what you posted looks truncated, was there any more output?
- If there was an npm-debug.log file, could you please post it's contents?
- It appears to be trying to rename a bunch of directories under
- there is only one
.npm_packages, however there is a.npm_packages folder inside of .npm_packages
2.that didn't work
3..npmrc does not existuser-user-3:~ useruser$ cd /Users/useruser/.npm .npm/ .npm-packages/ .npmrc user-user-3:~ useruser$ cd /Users/useruser/.npmrc -bash: cd: /Users/useruser/.npmrc: Not a directory
4.I couldn't find that file
new output from terminal
here
thanks. [-]>
- there is only one
What's the value of your
$PATHenvironmental variable?user-user-3:~ useruser$ $PATH -bash: /Library/Frameworks/Python.framework/Versions/3.5/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/usr/local/go/bin:/opt/ImageMagick/bin: No such file or directory[-]>
It looks like you need to add
/Users/useruser/.npm-packages/.npm-packages/binto your path in order to find the nodebot-workshop executable, however this is something the node installer normally does for you so I'm not sure why it's necessary, nor am I sure why you have two nested.npm-packagesfolders - something may have gone wrong during your installation of node.I'd open an issue with npm/npm if I were you.
every time i try to run the code
nodebot-workshopit states
bash:nodebot-workshop command not foundI have had this problem with everything that i tried installing using NPM