-
Notifications
You must be signed in to change notification settings - Fork 47
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
Installing “[email protected]” failed. #23
Comments
Try upgrading to Node 4.2.3 and reinstalling. This package uses a version of pathwatcher that requires node-runas that is intended to build on Node >=4. Atom >=1.2 uses Node 4. |
Similar #14 |
apm 1.4.1 I'm not sure if there's any difference, but have you tried installing On Thu, Dec 17, 2015 at 11:01 AM, dmdsig [email protected] wrote:
|
Yes I just tried it manually: C:\Users\KROENEN>apm install jupyter-notebook
C:\Users\KROENEN\AppData\Local\Temp\apm-install-dir-1151119-9244-lveqe0\node_modules\jupyter-notebook\node_modules\pathwatcher\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\KROENEN\AppData\Local\atom\app-1.3.2\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
C:\Users\KROENEN\AppData\Local\Temp\apm-install-dir-1151119-9244-lveqe0\node_modules\jupyter-notebook\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\KROENEN\AppData\Local\atom\app-1.3.2\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
C:\Users\KROENEN\AppData\Local\Temp\apm-install-dir-1151119-9244-lveqe0\node_modules\jupyter-notebook\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Users\KROENEN\AppData\Local\atom\app-1.3.2\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) gypgypgypnpm WARN optional dep failed, continuing [email protected] npm ERR! [email protected] install: I don't know what to do. |
I'm not sure either. You could try to clone the repo and |
I'm sorry but I don't think I understand what you told me very well, could you elaborate upon it? |
See https://github.com/jupyter/atom-notebook#developers In terminal: git clone https://github.com/jupyter/atom-notebook.git
cd atom-notebook
npm install
npm link This will allow you to link the jupyter-notebook Atom package to this development directory so that you can contribute to the source code and test it in Atom. Installing it this way should use your user/system version of Node (4.2.3) and NPM which should solve the problem. |
I'm getting a similar error (though I am on OS X 10.11), and building from the cloned repo does not seem to solve it. Here is the debug log. APM setup is:
node-gyp seems not to be bale to cope with Python 3.5.1. My node-gyp is 3.0.3. |
I seem to have 2 node-gyp packages installed. The install process reports 3.0.3, but when I run Worse yet, when I try installing via apm, it reports version v2.0.2. |
Same failure here. Atom currently uses node 0.10.40 and we don't have any choice in that. (why is it so far behind ? that's surprising) While it may be possible to clone and install with a different node (and thus succeed in building it) we can't just install the package using Atom. I did manage to install it with
|
Couple things to try:
What I do on my system is set which python
Though I'm not sure if that setting applies to the bundled npm that comes with Atom. |
Unfortunately, neither the
I have confirmed that /usr/bin/python2.7 exists. |
I wonder if we can rely on anything from nodejs/node-gyp#502 or if upgrading node-gyp helps. |
@fonnesbeck Did you clone and install using |
@fonnesbeck If that doesn't fix it, try Reference: atom/node-oniguruma#18 (comment) |
Related: nteract/hydrogen#12 |
check I just moved it / renamed it and then the old default 2.7.3 was the "first On Mon, Jan 4, 2016 at 6:57 PM Grant Nestor [email protected]
|
@fonnesbeck Were you able to resolve this? |
My machine is in the shop. Should be able to try it out by the end of the week. |
@fonnesbeck Looks like you were able to install? #29 Did |
Correct. Setting PYTHON at the install command worked. Now suffering from #29 |
Windows 10 up to date with
latest Atom fresh install with fresh Anaconda 3.5 install:
C:\Users\KROENEN\AppData\Local\Temp\apm-install-dir-1151115-20820-p01maq\node_modules\jupyter-notebook\node_modules\pathwatcher\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\KROENEN\AppData\Local\atom\app-1.3.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
C:\Users\KROENEN\AppData\Local\Temp\apm-install-dir-1151115-20820-p01maq\node_modules\jupyter-notebook\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Users\KROENEN\AppData\Local\atom\app-1.3.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
C:\Users\KROENEN\AppData\Local\Temp\apm-install-dir-1151115-20820-p01maq\node_modules\jupyter-notebook\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\KROENEN\AppData\Local\atom\app-1.3.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gypgypgypnpm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\KROENEN\AppData\Local\atom\app-1.3.1\resources\app\apm\bin\node.exe" "C:\Users\KROENEN\AppData\Local\atom\app-1.3.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\KROENEN.atom.apm.apmrc" "--userconfig" "C:\Users\KROENEN.atom.apmrc" "install" "C:\Users\KROENEN\AppData\Local\Temp\d-1151115-20820-kjxvde\package.tgz" "--target=0.34.3" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: