You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
every time i try to run the code nodebot-workshop
it states bash:nodebot-workshop command not found
I have had this problem with everything that i tried installing using NPM
It appears to be trying to rename a bunch of directories under /Users/useruser/.npm-packages/.npm-packages/... - the double .npm-packages looks odd - does this directory exist?
ENOENT during npm install npm/npm#9633 seems to suggest running npm cache clean might help, failing that you could try deleting the directory /Users/useruser/.npm-packages
Could you post the contents of ~/.npmrc if 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?
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 exist user-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. [-]>
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/bin to 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-packages folders - something may have gone wrong during your installation of node.
Activity
achingbrain commentedon Jul 25, 2016
Could you please post the entire output of the command
npm install -g nodebot-workshopehne commentedon Jul 26, 2016
its fairly large so i have put it on hastebin
here
achingbrain commentedon Jul 26, 2016
Hmm, a bunch of that looks weird:
/Users/useruser/.npm-packages/.npm-packages/...- the double.npm-packageslooks odd - does this directory exist?npm cache cleanmight help, failing that you could try deleting the directory/Users/useruser/.npm-packages~/.npmrcif it exists? (remove any auth keys before you do)ehne commentedon Jul 26, 2016
.npm_packages, however there is a.npm_packages folder inside of .npm_packages2.that didn't work
3..npmrc does not exist
user-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 directory4.I couldn't find that file
new output from terminal
here
thanks. [-]>
achingbrain commentedon Jul 26, 2016
What's the value of your
$PATHenvironmental variable?ehne commentedon Jul 26, 2016
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[-]>
achingbrain commentedon Jul 26, 2016
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.