-
Notifications
You must be signed in to change notification settings - Fork 185
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
installation problem on Mac OS #123
Comments
~ git:master ❯ open /Users/wangzhixiang/.npm/_logs/2017-10-31T05_07_45_178Z-debug.log 1519 verbose pkgid [email protected] |
The command If you want to install IJavascript only for your user, see the instructions here. To confirm that $ sudo which node || echo Not found
Not found |
I tried the command and it showed that I can use node globally.
|
Thanks, @n-riesco, It works. I think that it is not about 'node'. Before: I did as Gihub Installation asked.
After: I do as http://n-riesco.github.io/ijavascript/doc/install.md.html#local-installation shows.
|
@WillWang-X Oh... so you've installed Anaconda, haven't you? I'm happy to hear it's working for you. I'm going to reopen the issue to remind me to check the installation instructions for mac. |
I have the same issue as @WillWang-X . I have nodejs and npm installed: christophers-MacBook-Pro:~ christophervillanueva$ node --version All installation steps in the README work until the last command;
prebuild-install info begin Prebuild-install version 2.3.0 fs.js:905 Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/ijavascript/node_modules/zeromq/zmq' npm ERR! A complete log of this run can be found in: Any suggestions? |
@chrisVillanueva I've open a new issue to track your problem. See #124 |
Closing this issue since I've opened issue #126 to track any updates needed to the installation instructions on Mac. |
since #126 is closed as well, anyone ending up here. Just remove sudo from the above commands and it should fix the problem pip install --upgrade pyzmq jupyter
npm install -g ijavascript |
This is still an issue on OS X High Sierra 10.13.6 today. I had node and npm available to all users but still got errors
Running |
@ilonabudapesti Judging by the error message, it looks like you were affected by #165. |
I can use my node globally, but I don't know why there a message about "node: command not found"
Below is what I do:
`~ git:master ❯ sudo npm install -g ijavascript ✹ ✭
⸨ ░░░░░░░░░░░░░░░░░⸩ ⠦ fetchMetadata: sill resolveWithNewModule string_decoder@
/usr/local/bin/ijsconsole -> /usr/local/lib/node_modules/ijavascript/bin/ijsconsole.js
/usr/local/bin/ijs -> /usr/local/lib/node_modules/ijavascript/bin/ijavascript.js
/usr/local/bin/ijsinstall -> /usr/local/lib/node_modules/ijavascript/bin/ijsinstall.js
/usr/local/bin/ijskernel -> /usr/local/lib/node_modules/ijavascript/lib/kernel.js
/usr/local/bin/ijsnotebook -> /usr/local/lib/node_modules/ijavascript/bin/ijsnotebook.js
sh: node: command not found
sh: node: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install:
node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wangzhixiang/.npm/_logs/2017-10-31T05_07_45_178Z-debug.log`
The text was updated successfully, but these errors were encountered: