auxilio
auxilio copied to clipboard
nvm + node - after install receive "node\r no such file or directory"
MacOS Mountain Lion Node 0.10.8 installed via nvm Current console nvm node environment is 0.10.8
npm install -g auxilio-backend [no errors during install] npm list -g [I see auxilio-backend in the list]
After installation:
auxilio-backend [expect to see the initialization statements per your post. Instead, I get "env: node\r: No such file or directory"
Any ideas why this is happening? I also tried installing it without the -g flag, but because I'm using nvm to manage node, installing without the -g flag means I cannot access any installed package from the CLI.
Hm ... that's really strange. Is it happening with other modules installed globally?
Nope - I have tons of globally installed modules and they all work fine....Grunt, serve, casper, phantom, etc.
Hi, I think that your problem is identical to this one https://github.com/surjikal/sublime-coffee-compile/issues/9 (I can't really test it because I'm a Linux/Windows user and don't have a Mac). Can you please read this tread https://github.com/surjikal/sublime-coffee-compile/issues/9 and try changing your PATH. I'm referring this comment https://github.com/surjikal/sublime-coffee-compile/issues/9#issuecomment-9160312
Hi, is the problem fixed. I too had the same error. I am working on ubuntu 13.04, node version 0.10.23. I think the problem is with setting the env to node. I could not fix the problem completely. One workaround is to execute the index.js auxilio is pointing to with node. In my case, it is
node /usr/local/lib/node_modules/auxilio-backend/index.js
Because @askesian didn't post again here I was thinking that he found the problem. Personally I can't reproduce the problem. It seems that this problem is somehow related to the global PATH variable. The best thing which I could suggest for now is to make an alias which points to /usr/local/lib/node_modules/auxilio-backend/index.js.
Have the same problem. VenkataHarish's solution worked for me
I'm glad that @VenkataHarish's answer helped someone.