n-riesco / ijavascript

IJavascript is a javascript kernel for the Jupyter notebook
Other
2.18k stars 187 forks source link

Questions about Installation #85

Closed pingshunhuangalex closed 7 years ago

pingshunhuangalex commented 8 years ago

Hi @n-riesco

Just thanking you on the Hydrogen repository, and now here we are.

While ipython works like a magic with hydrogen, I just planned to empower hydrogen with ijavascript and I got tripped on the installation again. I'm pretty sure I'm got all the npm, VS C++ thing all sorted as I just installed hydrogen. Here is the error log. Any help would be appreciated. Thanks.

$ npm install ijavascript

> zmq@2.15.3 install C:\Users\Pingshun Huang\node_modules\zmq
> node-gyp rebuild

C:\Users\Pingshun Huang\node_modules\zmq>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  binding.cc
..\binding.cc(673): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(674): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(675): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(676): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(677): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(678): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(679): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(680): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(681): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(682): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(696): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(697): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(698): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(699): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(700): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(701): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(702): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(703): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(704): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj]
..\binding.cc(705): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj]
..\binding.cc(1140): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\Pingshun Huang\node_modules\z mq\build\zmq.vcxproj]
..\binding.cc(1285): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\Pingshun Huang\node_modules\z mq\build\zmq.vcxproj]
..\binding.cc(1286): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\Pingshun Huang\node_modules\z mq\build\zmq.vcxproj]
c:\users\pingshun huang\node_modules\nan\nan_new.h(208): warning C4244: 'argument': conversion from 'int64_t' to 'double', possible loss of data [C:\ Users\Pingshun Huang\node_modules\zmq\build\zmq.vcxproj]
  ..\binding.cc(624): note: see reference to function template instantiation 'v8::Local<v8::Number> Nan::New<v8::Number,T>(A0)' being compiled
          with
          [
              T=int64_t,
              A0=int64_t
          ]
  ..\binding.cc(678): note: see reference to function template instantiation 'v8::Local<v8::Value> zmq::Socket::GetSockOpt<int64_t>(int)' being compi
  led
c:\users\pingshun huang\node_modules\nan\nan_new.h(208): warning C4244: 'argument': conversion from 'uint64_t' to 'double', possible loss of data [C: \Users\Pingshun Huang\node_modules\zmq\build\zmq.vcxproj]
  ..\binding.cc(624): note: see reference to function template instantiation 'v8::Local<v8::Number> Nan::New<v8::Number,T>(A0)' being compiled
          with
          [
              T=uint64_t,
              A0=uint64_t
          ]
  ..\binding.cc(680): note: see reference to function template instantiation 'v8::Local<v8::Value> zmq::Socket::GetSockOpt<uint64_t>(int)' being comp
  iled
  win_delay_load_hook.c
C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34): error C2373: '__pfnDliNotifyHook2': redefinition; diffe rent type modifiers [C:\Users\Pingshun Huang\node_modules\zmq\build\zmq.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2'
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Pingshun Huang\node_modules\zmq
gyp ERR! node -v v6.7.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Pingshun Huang\package.json'
npm WARN Pingshun Huang No description
npm WARN Pingshun Huang No repository field.
npm WARN Pingshun Huang No README data
npm WARN Pingshun Huang No license field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "ijavascript"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE

npm ERR! zmq@2.15.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zmq@2.15.3 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the zmq 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 information on how to open an issue for this project with:
npm ERR!     npm bugs zmq
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls zmq
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Pingshun Huang\npm-debug.log
n-riesco commented 8 years ago

On 02/10/16 09:38, Pingshun Huang wrote:

Hi @n-riesco https://github.com/n-riesco

Just thanking you on the Hydrogen repository, and now here we are.

While ipython works like a magic with hydrogen, I just planned to empower hydrogen with ijavascript and I got tripped on the installation again. I'm pretty sure I'm got all the npm, VS C++ thing all sorted as I just installed hydrogen. Here is the error log. Any help would be appreciated. Thanks.

|$ npm install ijavascript > zmq@2.15.3 install C:\Users\Pingshun Huang\node_modules\zmq > node-gyp rebuild C:\Users\Pingshun Huang\node_modules\zmq>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. binding.cc ..\binding.cc(673): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(674): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(675): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(676): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(677): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(678): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(679): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(680): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(681): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(682): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(696): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(697): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(698): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(699): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(700): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(701): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(702): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(703): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(704): warning C4244: 'argument': conversion from 'int64_t' to 'const int', possible loss of data [C:\Users\Pingshun Huang\node_modules\ zmq\build\zmq.vcxproj] ..\binding.cc(705): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data [C:\Users\Pingshun Huang\node_modules\zmq\bu ild\zmq.vcxproj] ..\binding.cc(1140): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\Pingshun Huang\node_modules\z mq\build\zmq.vcxproj] ..\binding.cc(1285): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\Pingshun Huang\node_modules\z mq\build\zmq.vcxproj] ..\binding.cc(1286): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\Pingshun Huang\node_modules\z mq\build\zmq.vcxproj] c:\users\pingshun huang\node_modules\nan\nan_new.h(208): warning C4244: 'argument': conversion from 'int64_t' to 'double', possible loss of data [C:\ Users\Pingshun Huang\node_modules\zmq\build\zmq.vcxproj] ..\binding.cc(624): note: see reference to function template instantiation 'v8::Localv8::Number Nan::Newv8::Number,T(A0)' being compiled with [ T=int64_t, A0=int64_t ] ..\binding.cc(678): note: see reference to function template instantiation 'v8::Localv8::Value zmq::Socket::GetSockOpt(int)' being compi led c:\users\pingshun huang\node_modules\nan\nan_new.h(208): warning C4244: 'argument': conversion from 'uint64_t' to 'double', possible loss of data [C: \Users\Pingshun Huang\node_modules\zmq\build\zmq.vcxproj] ..\binding.cc(624): note: see reference to function template instantiation 'v8::Localv8::Number Nan::Newv8::Number,T(A0)' being compiled with [ T=uint64_t, A0=uint64_t ] ..\binding.cc(680): note: see reference to function template instantiation 'v8::Localv8::Value zmq::Socket::GetSockOpt(int)' being comp iled win_delay_load_hook.c C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34): error C2373: '__pfnDliNotifyHook2': redefinition; diffe rent type modifiers [C:\Users\Pingshun Huang\node_modules\zmq\build\zmq.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2' gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Windows_NT 10.0.14393 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Pingshun Huang\node_modules\zmq gyp ERR! node -v v6.7.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Pingshun Huang\package.json' npm WARN Pingshun Huang No description npm WARN Pingshun Huang No repository field. npm WARN Pingshun Huang No README data npm WARN Pingshun Huang No license field. npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "ijavascript" npm ERR! node v6.7.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE npm ERR! zmq@2.15.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the zmq@2.15.3 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the zmq 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 information on how to open an issue for this project with: npm ERR! npm bugs zmq npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls zmq npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Pingshun Huang\npm-debug.log |

This is surprising.

We've had Hydrogen users reporting failure to install Hydrogen on paths with whitespace (C:\Users\Pingshun Huang\). I imagine the same would apply to IJavascript.

pingshunhuangalex commented 8 years ago

@n-riesco That's odd cuz I managed to installed Hydrogen... Is it because I did it from atom instead of using apm install hydrogen back then?

Meanwhile, is there a way I can somehow fix this? I can't really change the name of the folder. It's %USERPROFILE% and I'll break everything. Is there a way to bypass this trouble or maybe just install it somewhere else? Maybe if you could provide an installer or something? Thanks.

n-riesco commented 8 years ago

OK, let's tart debug this. First, could you post the output of npm version?

pingshunhuangalex commented 7 years ago
$ npm -v
3.10.3
n-riesco commented 7 years ago

On 04/10/16 07:23, Pingshun Huang wrote:

Since GitHub is down at the moment, I'll try my luck just replying you back here. Thanks.

No worries.

I'd like to run npm version not npm -v. E.g. this is what I get in an Ubuntu box:

$ npm version
{ npm: '3.5.2',
  ares: '1.10.1-DEV',
  http_parser: '2.5.0',
  icu: '55.1',
  modules: '46',
  node: '4.2.6',
  openssl: '1.0.2g-fips',
  uv: '1.8.0',
  v8: '4.5.103.35',
  zlib: '1.2.8' }
pingshunhuangalex commented 7 years ago

Sorry, shouldn't jump to the conclusion there.

$ npm version
{ npm: '3.10.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.7.0',
  openssl: '1.0.2j',
  uv: '1.9.1',
  v8: '5.1.281.83',
  zlib: '1.2.8' }
n-riesco commented 7 years ago

On 04/10/16 07:51, Pingshun Huang wrote:

Sorry, shouldn't jump to the conclusion there.

|$ npm version { npm: '3.10.3', ares: '1.10.1-DEV', http_parser: '2.7.0', icu: '57.1', modules: '48', node: '6.7.0', openssl: '1.0.2j', uv: '1.9.1', v8: '5.1.281.83', zlib: '1.2.8' } |

I can confirm IJavascript works on node 6.7.0 in Ubuntu. So this issue must be specific to windows (or your installation).

Could you post the output of running python --version?

pingshunhuangalex commented 7 years ago
$ python --version
Python 3.5.2 :: Anaconda 4.2.0 (64-bit)

I did set python to python2.7 in npm, so it doesn't give me node-gyp rebuild error.

$ npm config list
; cli configs
user-agent = "npm/3.10.3 node/v6.7.0 win32 x64"

; userconfig C:\Users\Pingshun Huang\.npmrc
GYP_MSVS_VERSION = "2015"
msvs_version = "2015"
python = "D:\\Anaconda3\\envs\\python2\\python.exe"

; globalconfig C:\Users\Pingshun Huang\AppData\Roaming\npm\etc\npmrc
msvs_version = "2015"

; builtin config undefined
prefix = "C:\\Users\\Pingshun Huang\\AppData\\Roaming\\npm"

; node bin location = C:\Program Files\nodejs\node.exe
; cwd = C:\Users\Pingshun Huang
; HOME = C:\Users\Pingshun Huang
; "npm config ls -l" to show all defaults.
n-riesco commented 7 years ago

On 04/10/16 08:13, Pingshun Huang wrote:

|$ python --version Python 3.5.2 :: Anaconda 4.2.0 (64-bit) |

I did set python to python2.7 in npm, so it doesn't give me node-gyp rebuild error.

|$ npm config list ; cli configs user-agent = "npm/3.10.3 node/v6.7.0 win32 x64" ; userconfig C:\Users\Pingshun Huang.npmrc GYP_MSVS_VERSION = "2015" msvs_version = "2015" python = "D:\Anaconda3\envs\python2\python.exe" ; globalconfig C:\Users\Pingshun Huang\AppData\Roaming\npm\etc\npmrc msvs_version = "2015" ; builtin config undefined prefix = "C:\Users\Pingshun Huang\AppData\Roaming\npm" ; node bin location = C:\Program Files\nodejs\node.exe ; cwd = C:\Users\Pingshun Huang ; HOME = C:\Users\Pingshun Huang ; "npm config ls -l" to show all defaults. |

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/n-riesco/ijavascript/issues/85#issuecomment-251311579, or mute the thread https://github.com/notifications/unsubscribe-auth/AF6YX51qPp8LRW7DcU9PJAJ4FnzVVF3qks5qwfyJgaJpZM4KL9vI.

By looking at the log in your first post, it looks to me like a version incompatibility issue between nan and zmq.

Could you post the output of npm ls? This is what I get in my case:

$ npm ls
ijavascript@5.0.14 /home/user/lib/node_modules/ijavascript
└─┬ jp-kernel@0.0.1
  ├─┬ jmp@0.4.0
  │ ├── node-uuid@1.4.7
  │ └─┬ zmq@2.15.3
  │   ├── bindings@1.2.1
  │   └── nan@2.3.5
  └── nel@0.5.0
pingshunhuangalex commented 7 years ago

Sorry, not as clean as yours.

$ npm ls
C:\Users\Pingshun Huang
+-- nel@0.5.0
+-- node-gyp@3.4.0
| +-- fstream@1.0.10
| | `-- inherits@2.0.3
| +-- glob@7.1.0
| | +-- fs.realpath@1.0.0
| | +-- inflight@1.0.5
| | | `-- wrappy@1.0.2
| | +-- once@1.4.0
| | `-- path-is-absolute@1.0.1
| +-- graceful-fs@4.1.9
| +-- minimatch@3.0.3
| | `-- brace-expansion@1.1.6
| |   +-- balanced-match@0.4.2
| |   `-- concat-map@0.0.1
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- nopt@3.0.6
| | `-- abbrev@1.0.9
| +-- npmlog@3.1.2
| | +-- are-we-there-yet@1.1.2
| | | +-- delegates@1.0.0
| | | `-- readable-stream@2.1.5
| | |   +-- buffer-shims@1.0.0
| | |   +-- core-util-is@1.0.2
| | |   +-- isarray@1.0.0
| | |   +-- process-nextick-args@1.0.7
| | |   +-- string_decoder@0.10.31
| | |   `-- util-deprecate@1.0.2
| | +-- console-control-strings@1.1.0
| | +-- gauge@2.6.0
| | | +-- aproba@1.0.4
| | | +-- has-color@0.1.7
| | | +-- has-unicode@2.0.1
| | | +-- object-assign@4.1.0
| | | +-- signal-exit@3.0.1
| | | +-- string-width@1.0.2
| | | | +-- code-point-at@1.0.1
| | | | | `-- number-is-nan@1.0.1
| | | | `-- is-fullwidth-code-point@1.0.0
| | | +-- strip-ansi@3.0.1
| | | | `-- ansi-regex@2.0.0
| | | `-- wide-align@1.1.0
| | `-- set-blocking@2.0.0
| +-- osenv@0.1.3
| | +-- os-homedir@1.0.2
| | `-- os-tmpdir@1.0.2
| +-- path-array@1.0.1
| | `-- array-index@1.0.0
| |   +-- debug@2.2.0
| |   | `-- ms@0.7.1
| |   `-- es6-symbol@3.1.0
| |     +-- d@0.1.1
| |     `-- es5-ext@0.10.12
| |       `-- es6-iterator@2.0.0
| +-- request@2.75.0
| | +-- aws-sign2@0.6.0
| | +-- aws4@1.4.1
| | +-- bl@1.1.2
| | | `-- readable-stream@2.0.6
| | +-- caseless@0.11.0
| | +-- combined-stream@1.0.5
| | | `-- delayed-stream@1.0.0
| | +-- extend@3.0.0
| | +-- forever-agent@0.6.1
| | +-- form-data@2.0.0
| | | `-- asynckit@0.4.0
| | +-- har-validator@2.0.6
| | | +-- chalk@1.1.3
| | | | +-- ansi-styles@2.2.1
| | | | +-- escape-string-regexp@1.0.5
| | | | +-- has-ansi@2.0.0
| | | | `-- supports-color@2.0.0
| | | +-- commander@2.9.0
| | | | `-- graceful-readlink@1.0.1
| | | +-- is-my-json-valid@2.15.0
| | | | +-- generate-function@2.0.0
| | | | +-- generate-object-property@1.2.0
| | | | | `-- is-property@1.0.2
| | | | +-- jsonpointer@4.0.0
| | | | `-- xtend@4.0.1
| | | `-- pinkie-promise@2.0.1
| | |   `-- pinkie@2.0.4
| | +-- hawk@3.1.3
| | | +-- boom@2.10.1
| | | +-- cryptiles@2.0.5
| | | +-- hoek@2.16.3
| | | `-- sntp@1.0.9
| | +-- http-signature@1.1.1
| | | +-- assert-plus@0.2.0
| | | +-- jsprim@1.3.1
| | | | +-- extsprintf@1.0.2
| | | | +-- json-schema@0.2.3
| | | | `-- verror@1.3.6
| | | `-- sshpk@1.10.1
| | |   +-- asn1@0.2.3
| | |   +-- assert-plus@1.0.0
| | |   +-- bcrypt-pbkdf@1.0.0
| | |   +-- dashdash@1.14.0
| | |   | `-- assert-plus@1.0.0
| | |   +-- ecc-jsbn@0.1.1
| | |   +-- getpass@0.1.6
| | |   | `-- assert-plus@1.0.0
| | |   +-- jodid25519@1.0.2
| | |   +-- jsbn@0.1.0
| | |   `-- tweetnacl@0.14.3
| | +-- is-typedarray@1.0.0
| | +-- isstream@0.1.2
| | +-- json-stringify-safe@5.0.1
| | +-- mime-types@2.1.12
| | | `-- mime-db@1.24.0
| | +-- node-uuid@1.4.7
| | +-- oauth-sign@0.8.2
| | +-- qs@6.2.1
| | +-- stringstream@0.0.5
| | +-- tough-cookie@2.3.1
| | `-- tunnel-agent@0.4.3
| +-- rimraf@2.5.4
| +-- semver@5.3.0
| +-- tar@2.2.1
| | `-- block-stream@0.0.9
| `-- which@1.2.11
|   `-- isexe@1.1.2
`-- npm@3.10.8
  +-- abbrev@1.0.9
  +-- ansi-regex@2.0.0
  +-- ansicolors@0.3.2
  +-- ansistyles@0.1.3
  +-- aproba@1.0.4
  +-- archy@1.0.0
  +-- asap@2.0.4
  +-- chownr@1.0.1
  +-- cmd-shim@2.0.2
  +-- columnify@1.5.4
  | `-- wcwidth@1.0.0
  |   `-- defaults@1.0.3
  |     `-- clone@1.0.2
  +-- config-chain@1.1.10
  | `-- proto-list@1.2.4
  +-- debuglog@1.0.1
  +-- dezalgo@1.0.3
  +-- editor@1.0.0
  +-- fs-vacuum@1.2.9
  +-- fs-write-stream-atomic@1.0.8
  +-- fstream@1.0.10
  +-- fstream-npm@1.2.0
  | `-- fstream-ignore@1.0.5
  |   `-- minimatch@3.0.3
  |     `-- brace-expansion@1.1.6
  |       +-- balanced-match@0.4.2
  |       `-- concat-map@0.0.1
  +-- glob@7.0.6
  | +-- fs.realpath@1.0.0
  | +-- minimatch@3.0.3
  | | `-- brace-expansion@1.1.6
  | |   +-- balanced-match@0.4.2
  | |   `-- concat-map@0.0.1
  | `-- path-is-absolute@1.0.0
  +-- graceful-fs@4.1.6
  +-- has-unicode@2.0.1
  +-- hosted-git-info@2.1.5
  +-- iferr@0.1.5
  +-- imurmurhash@0.1.4
  +-- inflight@1.0.5
  +-- inherits@2.0.3
  +-- ini@1.3.4
  +-- init-package-json@1.9.4
  | +-- glob@6.0.4
  | | +-- minimatch@3.0.3
  | | | `-- brace-expansion@1.1.6
  | | |   +-- balanced-match@0.4.2
  | | |   `-- concat-map@0.0.1
  | | `-- path-is-absolute@1.0.0
  | `-- promzard@0.3.0
  +-- lockfile@1.0.1
  +-- lodash._baseindexof@3.1.0
  +-- lodash._baseuniq@4.6.0
  | +-- lodash._createset@4.0.3
  | `-- lodash._root@3.0.1
  +-- lodash._bindcallback@3.0.1
  +-- lodash._cacheindexof@3.0.2
  +-- lodash._createcache@3.1.2
  +-- lodash._getnative@3.9.1
  +-- lodash.clonedeep@4.5.0
  +-- lodash.restparam@3.6.1
  +-- lodash.union@4.6.0
  +-- lodash.uniq@4.5.0
  +-- lodash.without@4.4.0
  +-- mkdirp@0.5.1
  | `-- minimist@0.0.8
  +-- node-gyp@3.4.0
  | +-- minimatch@3.0.3
  | | `-- brace-expansion@1.1.6
  | |   +-- balanced-match@0.4.2
  | |   `-- concat-map@0.0.1
  | +-- npmlog@3.1.2
  | | +-- are-we-there-yet@1.1.2
  | | | `-- delegates@1.0.0
  | | +-- console-control-strings@1.1.0
  | | +-- gauge@2.6.0
  | | | +-- has-color@0.1.7
  | | | +-- object-assign@4.1.0
  | | | +-- signal-exit@3.0.0
  | | | +-- string-width@1.0.2
  | | | | +-- code-point-at@1.0.0
  | | | | | `-- number-is-nan@1.0.0
  | | | | `-- is-fullwidth-code-point@1.0.0
  | | | |   `-- number-is-nan@1.0.0
  | | | `-- wide-align@1.1.0
  | | `-- set-blocking@2.0.0
  | `-- path-array@1.0.1
  |   `-- array-index@1.0.0
  |     +-- debug@2.2.0
  |     | `-- ms@0.7.1
  |     `-- es6-symbol@3.1.0
  |       +-- d@0.1.1
  |       `-- es5-ext@0.10.12
  |         `-- es6-iterator@2.0.0
  +-- nopt@3.0.6
  +-- normalize-git-url@3.0.2
  +-- normalize-package-data@2.3.5
  | `-- is-builtin-module@1.0.0
  |   `-- builtin-modules@1.1.1
  +-- npm-cache-filename@1.0.2
  +-- npm-install-checks@3.0.0
  +-- npm-package-arg@4.2.0
  +-- npm-registry-client@7.2.1
  | +-- concat-stream@1.5.2
  | | +-- readable-stream@2.0.6
  | | | +-- core-util-is@1.0.2
  | | | +-- isarray@1.0.0
  | | | +-- process-nextick-args@1.0.7
  | | | +-- string_decoder@0.10.31
  | | | `-- util-deprecate@1.0.2
  | | `-- typedarray@0.0.6
  | +-- npmlog@3.1.2
  | | +-- are-we-there-yet@1.1.2
  | | | `-- delegates@1.0.0
  | | +-- console-control-strings@1.1.0
  | | +-- gauge@2.6.0
  | | | +-- has-color@0.1.7
  | | | +-- object-assign@4.1.0
  | | | +-- signal-exit@3.0.0
  | | | +-- string-width@1.0.2
  | | | | +-- code-point-at@1.0.0
  | | | | | `-- number-is-nan@1.0.0
  | | | | `-- is-fullwidth-code-point@1.0.0
  | | | |   `-- number-is-nan@1.0.0
  | | | `-- wide-align@1.1.0
  | | `-- set-blocking@2.0.0
  | `-- retry@0.10.0
  +-- npm-user-validate@0.1.5
  +-- npmlog@4.0.0
  | +-- are-we-there-yet@1.1.2
  | | `-- delegates@1.0.0
  | +-- console-control-strings@1.1.0
  | +-- gauge@2.6.0
  | | +-- has-color@0.1.7
  | | +-- object-assign@4.1.0
  | | +-- signal-exit@3.0.0
  | | +-- string-width@1.0.2
  | | | +-- code-point-at@1.0.0
  | | | | `-- number-is-nan@1.0.0
  | | | `-- is-fullwidth-code-point@1.0.0
  | | |   `-- number-is-nan@1.0.0
  | | `-- wide-align@1.1.0
  | `-- set-blocking@2.0.0
  +-- once@1.4.0
  +-- opener@1.4.1
  +-- osenv@0.1.3
  | +-- os-homedir@1.0.1
  | `-- os-tmpdir@1.0.1
  +-- path-is-inside@1.0.1
  +-- read@1.0.7
  | `-- mute-stream@0.0.5
  +-- read-cmd-shim@1.0.1
  +-- read-installed@4.0.3
  | `-- util-extend@1.0.3
  +-- read-package-json@2.0.4
  | +-- glob@6.0.4
  | | +-- minimatch@3.0.3
  | | | `-- brace-expansion@1.1.6
  | | |   +-- balanced-match@0.4.2
  | | |   `-- concat-map@0.0.1
  | | `-- path-is-absolute@1.0.0
  | `-- json-parse-helpfulerror@1.0.3
  |   `-- jju@1.3.0
  +-- read-package-tree@5.1.5
  +-- readable-stream@2.1.5
  | +-- buffer-shims@1.0.0
  | +-- core-util-is@1.0.2
  | +-- isarray@1.0.0
  | +-- process-nextick-args@1.0.7
  | +-- string_decoder@0.10.31
  | `-- util-deprecate@1.0.2
  +-- readdir-scoped-modules@1.0.2
  +-- realize-package-specifier@3.0.3
  +-- request@2.74.0
  | +-- aws-sign2@0.6.0
  | +-- aws4@1.4.1
  | +-- bl@1.1.2
  | | `-- readable-stream@2.0.6
  | |   +-- core-util-is@1.0.2
  | |   +-- isarray@1.0.0
  | |   +-- process-nextick-args@1.0.7
  | |   +-- string_decoder@0.10.31
  | |   `-- util-deprecate@1.0.2
  | +-- caseless@0.11.0
  | +-- combined-stream@1.0.5
  | | `-- delayed-stream@1.0.0
  | +-- extend@3.0.0
  | +-- forever-agent@0.6.1
  | +-- form-data@1.0.0-rc4
  | | `-- async@1.5.2
  | +-- har-validator@2.0.6
  | | +-- chalk@1.1.3
  | | | +-- ansi-styles@2.2.1
  | | | +-- escape-string-regexp@1.0.5
  | | | +-- has-ansi@2.0.0
  | | | `-- supports-color@2.0.0
  | | +-- commander@2.9.0
  | | | `-- graceful-readlink@1.0.1
  | | +-- is-my-json-valid@2.13.1
  | | | +-- generate-function@2.0.0
  | | | +-- generate-object-property@1.2.0
  | | | | `-- is-property@1.0.2
  | | | +-- jsonpointer@2.0.0
  | | | `-- xtend@4.0.1
  | | `-- pinkie-promise@2.0.1
  | |   `-- pinkie@2.0.4
  | +-- hawk@3.1.3
  | | +-- boom@2.10.1
  | | +-- cryptiles@2.0.5
  | | +-- hoek@2.16.3
  | | `-- sntp@1.0.9
  | +-- http-signature@1.1.1
  | | +-- assert-plus@0.2.0
  | | +-- jsprim@1.3.0
  | | | +-- extsprintf@1.0.2
  | | | +-- json-schema@0.2.2
  | | | `-- verror@1.3.6
  | | `-- sshpk@1.9.2
  | |   +-- asn1@0.2.3
  | |   +-- assert-plus@1.0.0
  | |   +-- dashdash@1.14.0
  | |   +-- ecc-jsbn@0.1.1
  | |   +-- getpass@0.1.6
  | |   +-- jodid25519@1.0.2
  | |   +-- jsbn@0.1.0
  | |   `-- tweetnacl@0.13.3
  | +-- is-typedarray@1.0.0
  | +-- isstream@0.1.2
  | +-- json-stringify-safe@5.0.1
  | +-- mime-types@2.1.11
  | | `-- mime-db@1.23.0
  | +-- node-uuid@1.4.7
  | +-- oauth-sign@0.8.2
  | +-- qs@6.2.1
  | +-- stringstream@0.0.5
  | +-- tough-cookie@2.3.1
  | `-- tunnel-agent@0.4.3
  +-- retry@0.10.0
  +-- rimraf@2.5.4
  +-- semver@5.3.0
  +-- sha@2.0.1
  +-- slide@1.1.6
  +-- sorted-object@2.0.0
  +-- strip-ansi@3.0.1
  +-- tar@2.2.1
  | `-- block-stream@0.0.8
  +-- text-table@0.2.0
  +-- uid-number@0.0.6
  +-- umask@1.1.0
  +-- unique-filename@1.1.0
  | `-- unique-slug@2.0.0
  +-- unpipe@1.0.0
  +-- validate-npm-package-license@3.0.1
  | +-- spdx-correct@1.0.2
  | | `-- spdx-license-ids@1.2.0
  | `-- spdx-expression-parse@1.0.2
  |   +-- spdx-exceptions@1.0.4
  |   `-- spdx-license-ids@1.2.0
  +-- validate-npm-package-name@2.2.2
  | `-- builtins@0.0.7
  +-- which@1.2.11
  | `-- isexe@1.1.2
  +-- wrappy@1.0.2
  `-- write-file-atomic@1.2.0
n-riesco commented 7 years ago

On 04/10/16 08:31, Pingshun Huang wrote:

Sorry, not as clean as yours.

|$ npm ls C:\Users\Pingshun Huang +-- nel@0.5.0 +-- node-gyp@3.4.0 | +-- fstream@1.0.10 | | -- inherits@2.0.3 | +-- glob@7.1.0 | | +-- fs.realpath@1.0.0 | | +-- inflight@1.0.5 | | |-- wrappy@1.0.2 | | +-- once@1.4.0 | | -- path-is-absolute@1.0.1 | +-- graceful-fs@4.1.9 | +-- minimatch@3.0.3 | |-- brace-expansion@1.1.6 | | +-- balanced-match@0.4.2 | | -- concat-map@0.0.1 | +-- mkdirp@0.5.1 | |-- minimist@0.0.8 | +-- nopt@3.0.6 | | -- abbrev@1.0.9 | +-- npmlog@3.1.2 | | +-- are-we-there-yet@1.1.2 | | | +-- delegates@1.0.0 | | |-- readable-stream@2.1.5 | | | +-- buffer-shims@1.0.0 | | | +-- core-util-is@1.0.2 | | | +-- isarray@1.0.0 | | | +-- process-nextick-args@1.0.7 | | | +-- string_decoder@0.10.31 | | | -- util-deprecate@1.0.2 | | +-- console-control-strings@1.1.0 | | +-- gauge@2.6.0 | | | +-- aproba@1.0.4 | | | +-- has-color@0.1.7 | | | +-- has-unicode@2.0.1 | | | +-- object-assign@4.1.0 | | | +-- signal-exit@3.0.1 | | | +-- string-width@1.0.2 | | | | +-- code-point-at@1.0.1 | | | | |-- number-is-nan@1.0.1 | | | | -- is-fullwidth-code-point@1.0.0 | | | +-- strip-ansi@3.0.1 | | | |-- ansi-regex@2.0.0 | | | -- wide-align@1.1.0 | |-- set-blocking@2.0.0 | +-- osenv@0.1.3 | | +-- os-homedir@1.0.2 | | -- os-tmpdir@1.0.2 | +-- path-array@1.0.1 | |-- array-index@1.0.0 | | +-- debug@2.2.0 | | | -- ms@0.7.1 | |-- es6-symbol@3.1.0 | | +-- d@0.1.1 | | -- es5-ext@0.10.12 | |-- es6-iterator@2.0.0 | +-- request@2.75.0 | | +-- aws-sign2@0.6.0 | | +-- aws4@1.4.1 | | +-- bl@1.1.2 | | | -- readable-stream@2.0.6 | | +-- caseless@0.11.0 | | +-- combined-stream@1.0.5 | | |-- delayed-stream@1.0.0 | | +-- extend@3.0.0 | | +-- forever-agent@0.6.1 | | +-- form-data@2.0.0 | | | -- asynckit@0.4.0 | | +-- har-validator@2.0.6 | | | +-- chalk@1.1.3 | | | | +-- ansi-styles@2.2.1 | | | | +-- escape-string-regexp@1.0.5 | | | | +-- has-ansi@2.0.0 | | | |-- supports-color@2.0.0 | | | +-- commander@2.9.0 | | | | -- graceful-readlink@1.0.1 | | | +-- is-my-json-valid@2.15.0 | | | | +-- generate-function@2.0.0 | | | | +-- generate-object-property@1.2.0 | | | | |-- is-property@1.0.2 | | | | +-- jsonpointer@4.0.0 | | | | -- xtend@4.0.1 | | |-- pinkie-promise@2.0.1 | | | -- pinkie@2.0.4 | | +-- hawk@3.1.3 | | | +-- boom@2.10.1 | | | +-- cryptiles@2.0.5 | | | +-- hoek@2.16.3 | | |-- sntp@1.0.9 | | +-- http-signature@1.1.1 | | | +-- assert-plus@0.2.0 | | | +-- jsprim@1.3.1 | | | | +-- extsprintf@1.0.2 | | | | +-- json-schema@0.2.3 | | | | -- verror@1.3.6 | | |-- sshpk@1.10.1 | | | +-- asn1@0.2.3 | | | +-- assert-plus@1.0.0 | | | +-- bcrypt-pbkdf@1.0.0 | | | +-- dashdash@1.14.0 | | | | -- assert-plus@1.0.0 | | | +-- ecc-jsbn@0.1.1 | | | +-- getpass@0.1.6 | | | |-- assert-plus@1.0.0 | | | +-- jodid25519@1.0.2 | | | +-- jsbn@0.1.0 | | | -- tweetnacl@0.14.3 | | +-- is-typedarray@1.0.0 | | +-- isstream@0.1.2 | | +-- json-stringify-safe@5.0.1 | | +-- mime-types@2.1.12 | | |-- mime-db@1.24.0 | | +-- node-uuid@1.4.7 | | +-- oauth-sign@0.8.2 | | +-- qs@6.2.1 | | +-- stringstream@0.0.5 | | +-- tough-cookie@2.3.1 | | -- tunnel-agent@0.4.3 | +-- rimraf@2.5.4 | +-- semver@5.3.0 | +-- tar@2.2.1 | |-- block-stream@0.0.9 | -- which@1.2.11 |-- isexe@1.1.2 -- npm@3.10.8 +-- abbrev@1.0.9 +-- ansi-regex@2.0.0 +-- ansicolors@0.3.2 +-- ansistyles@0.1.3 +-- aproba@1.0.4 +-- archy@1.0.0 +-- asap@2.0.4 +-- chownr@1.0.1 +-- cmd-shim@2.0.2 +-- columnify@1.5.4 |-- wcwidth@1.0.0 | -- defaults@1.0.3 |-- clone@1.0.2 +-- config-chain@1.1.10 | -- proto-list@1.2.4 +-- debuglog@1.0.1 +-- dezalgo@1.0.3 +-- editor@1.0.0 +-- fs-vacuum@1.2.9 +-- fs-write-stream-atomic@1.0.8 +-- fstream@1.0.10 +-- fstream-npm@1.2.0 |-- fstream-ignore@1.0.5 | -- minimatch@3.0.3 |-- brace-expansion@1.1.6 | +-- balanced-match@0.4.2 | -- concat-map@0.0.1 +-- glob@7.0.6 | +-- fs.realpath@1.0.0 | +-- minimatch@3.0.3 | |-- brace-expansion@1.1.6 | | +-- balanced-match@0.4.2 | | -- concat-map@0.0.1 |-- path-is-absolute@1.0.0 +-- graceful-fs@4.1.6 +-- has-unicode@2.0.1 +-- hosted-git-info@2.1.5 +-- iferr@0.1.5 +-- imurmurhash@0.1.4 +-- inflight@1.0.5 +-- inherits@2.0.3 +-- ini@1.3.4 +-- init-package-json@1.9.4 | +-- glob@6.0.4 | | +-- minimatch@3.0.3 | | | -- brace-expansion@1.1.6 | | | +-- balanced-match@0.4.2 | | |-- concat-map@0.0.1 | | -- path-is-absolute@1.0.0 |-- promzard@0.3.0 +-- lockfile@1.0.1 +-- lodash._baseindexof@3.1.0 +-- lodash._baseuniq@4.6.0 | +-- lodash._createset@4.0.3 | -- lodash._root@3.0.1 +-- lodash._bindcallback@3.0.1 +-- lodash._cacheindexof@3.0.2 +-- lodash._createcache@3.1.2 +-- lodash._getnative@3.9.1 +-- lodash.clonedeep@4.5.0 +-- lodash.restparam@3.6.1 +-- lodash.union@4.6.0 +-- lodash.uniq@4.5.0 +-- lodash.without@4.4.0 +-- mkdirp@0.5.1 |-- minimist@0.0.8 +-- node-gyp@3.4.0 | +-- minimatch@3.0.3 | | -- brace-expansion@1.1.6 | | +-- balanced-match@0.4.2 | |-- concat-map@0.0.1 | +-- npmlog@3.1.2 | | +-- are-we-there-yet@1.1.2 | | | -- delegates@1.0.0 | | +-- console-control-strings@1.1.0 | | +-- gauge@2.6.0 | | | +-- has-color@0.1.7 | | | +-- object-assign@4.1.0 | | | +-- signal-exit@3.0.0 | | | +-- string-width@1.0.2 | | | | +-- code-point-at@1.0.0 | | | | |-- number-is-nan@1.0.0 | | | | -- is-fullwidth-code-point@1.0.0 | | | |-- number-is-nan@1.0.0 | | | -- wide-align@1.1.0 | |-- set-blocking@2.0.0 | -- path-array@1.0.1 |-- array-index@1.0.0 | +-- debug@2.2.0 | | -- ms@0.7.1 |-- es6-symbol@3.1.0 | +-- d@0.1.1 | -- es5-ext@0.10.12 |-- es6-iterator@2.0.0 +-- nopt@3.0.6 +-- normalize-git-url@3.0.2 +-- normalize-package-data@2.3.5 | -- is-builtin-module@1.0.0 |-- builtin-modules@1.1.1 +-- npm-cache-filename@1.0.2 +-- npm-install-checks@3.0.0 +-- npm-package-arg@4.2.0 +-- npm-registry-client@7.2.1 | +-- concat-stream@1.5.2 | | +-- readable-stream@2.0.6 | | | +-- core-util-is@1.0.2 | | | +-- isarray@1.0.0 | | | +-- process-nextick-args@1.0.7 | | | +-- string_decoder@0.10.31 | | | -- util-deprecate@1.0.2 | |-- typedarray@0.0.6 | +-- npmlog@3.1.2 | | +-- are-we-there-yet@1.1.2 | | | -- delegates@1.0.0 | | +-- console-control-strings@1.1.0 | | +-- gauge@2.6.0 | | | +-- has-color@0.1.7 | | | +-- object-assign@4.1.0 | | | +-- signal-exit@3.0.0 | | | +-- string-width@1.0.2 | | | | +-- code-point-at@1.0.0 | | | | |-- number-is-nan@1.0.0 | | | | -- is-fullwidth-code-point@1.0.0 | | | |-- number-is-nan@1.0.0 | | | -- wide-align@1.1.0 | |-- set-blocking@2.0.0 | -- retry@0.10.0 +-- npm-user-validate@0.1.5 +-- npmlog@4.0.0 | +-- are-we-there-yet@1.1.2 | |-- delegates@1.0.0 | +-- console-control-strings@1.1.0 | +-- gauge@2.6.0 | | +-- has-color@0.1.7 | | +-- object-assign@4.1.0 | | +-- signal-exit@3.0.0 | | +-- string-width@1.0.2 | | | +-- code-point-at@1.0.0 | | | | -- number-is-nan@1.0.0 | | |-- is-fullwidth-code-point@1.0.0 | | | -- number-is-nan@1.0.0 | |-- wide-align@1.1.0 | -- set-blocking@2.0.0 +-- once@1.4.0 +-- opener@1.4.1 +-- osenv@0.1.3 | +-- os-homedir@1.0.1 |-- os-tmpdir@1.0.1 +-- path-is-inside@1.0.1 +-- read@1.0.7 | -- mute-stream@0.0.5 +-- read-cmd-shim@1.0.1 +-- read-installed@4.0.3 |-- util-extend@1.0.3 +-- read-package-json@2.0.4 | +-- glob@6.0.4 | | +-- minimatch@3.0.3 | | | -- brace-expansion@1.1.6 | | | +-- balanced-match@0.4.2 | | |-- concat-map@0.0.1 | | -- path-is-absolute@1.0.0 |-- json-parse-helpfulerror@1.0.3 | -- jju@1.3.0 +-- read-package-tree@5.1.5 +-- readable-stream@2.1.5 | +-- buffer-shims@1.0.0 | +-- core-util-is@1.0.2 | +-- isarray@1.0.0 | +-- process-nextick-args@1.0.7 | +-- string_decoder@0.10.31 |-- util-deprecate@1.0.2 +-- readdir-scoped-modules@1.0.2 +-- realize-package-specifier@3.0.3 +-- request@2.74.0 | +-- aws-sign2@0.6.0 | +-- aws4@1.4.1 | +-- bl@1.1.2 | | -- readable-stream@2.0.6 | | +-- core-util-is@1.0.2 | | +-- isarray@1.0.0 | | +-- process-nextick-args@1.0.7 | | +-- string_decoder@0.10.31 | |-- util-deprecate@1.0.2 | +-- caseless@0.11.0 | +-- combined-stream@1.0.5 | | -- delayed-stream@1.0.0 | +-- extend@3.0.0 | +-- forever-agent@0.6.1 | +-- form-data@1.0.0-rc4 | |-- async@1.5.2 | +-- har-validator@2.0.6 | | +-- chalk@1.1.3 | | | +-- ansi-styles@2.2.1 | | | +-- escape-string-regexp@1.0.5 | | | +-- has-ansi@2.0.0 | | | -- supports-color@2.0.0 | | +-- commander@2.9.0 | | |-- graceful-readlink@1.0.1 | | +-- is-my-json-valid@2.13.1 | | | +-- generate-function@2.0.0 | | | +-- generate-object-property@1.2.0 | | | | -- is-property@1.0.2 | | | +-- jsonpointer@2.0.0 | | |-- xtend@4.0.1 | | -- pinkie-promise@2.0.1 | |-- pinkie@2.0.4 | +-- hawk@3.1.3 | | +-- boom@2.10.1 | | +-- cryptiles@2.0.5 | | +-- hoek@2.16.3 | | -- sntp@1.0.9 | +-- http-signature@1.1.1 | | +-- assert-plus@0.2.0 | | +-- jsprim@1.3.0 | | | +-- extsprintf@1.0.2 | | | +-- json-schema@0.2.2 | | |-- verror@1.3.6 | | -- sshpk@1.9.2 | | +-- asn1@0.2.3 | | +-- assert-plus@1.0.0 | | +-- dashdash@1.14.0 | | +-- ecc-jsbn@0.1.1 | | +-- getpass@0.1.6 | | +-- jodid25519@1.0.2 | | +-- jsbn@0.1.0 | |-- tweetnacl@0.13.3 | +-- is-typedarray@1.0.0 | +-- isstream@0.1.2 | +-- json-stringify-safe@5.0.1 | +-- mime-types@2.1.11 | | -- mime-db@1.23.0 | +-- node-uuid@1.4.7 | +-- oauth-sign@0.8.2 | +-- qs@6.2.1 | +-- stringstream@0.0.5 | +-- tough-cookie@2.3.1 |-- tunnel-agent@0.4.3 +-- retry@0.10.0 +-- rimraf@2.5.4 +-- semver@5.3.0 +-- sha@2.0.1 +-- slide@1.1.6 +-- sorted-object@2.0.0 +-- strip-ansi@3.0.1 +-- tar@2.2.1 | -- block-stream@0.0.8 +-- text-table@0.2.0 +-- uid-number@0.0.6 +-- umask@1.1.0 +-- unique-filename@1.1.0 |-- unique-slug@2.0.0 +-- unpipe@1.0.0 +-- validate-npm-package-license@3.0.1 | +-- spdx-correct@1.0.2 | | -- spdx-license-ids@1.2.0 |-- spdx-expression-parse@1.0.2 | +-- spdx-exceptions@1.0.4 | -- spdx-license-ids@1.2.0 +-- validate-npm-package-name@2.2.2 |-- builtins@0.0.7 +-- which@1.2.11 | -- isexe@1.1.2 +-- wrappy@1.0.2-- write-file-atomic@1.2.0 |

This didn't include the information I was hoping for because zmq failed to installed (so npm ls doesn't show it).

Anyway, I found another lead. You may be affected by this npm issue:

https://github.com/nodejs/node-gyp/issues/972

Although you have installed npm@3.10.8 locally, you global version is npm@3.10.3 (as reported by npm version)

Two solutions have been posted in https://github.com/nodejs/node-gyp/issues/972

1) Upgrade your global installation of npm. See: https://github.com/nodejs/node-gyp/issues/972#issuecomment-231939559

2) Force the installation of IJavascript and zmq, and rebuild locally: https://github.com/nodejs/node-gyp/issues/972#issuecomment-244107188

pingshunhuangalex commented 7 years ago

Thanks @n-riesco for saving my day again.

The npm -g install npm@latest works. Finally installed IJavascript. How did you manage to spot minor things like this and pin-point the solution... I would never thought about it's due to different version in npm...

P.S. hydrogen not find the IJavascript kernel, but let me play around it first, probably can solve this one myself. Thank you so much for your help.

n-riesco commented 7 years ago

On 04/10/16 09:08, Pingshun Huang wrote:

Thanks @n-riesco https://github.com/n-riesco for saving my day again.

The |npm -g install npm@latest| works. Finally installed IJavascript. How did you manage to spot minor things like this and pin-point the solution... I would never thought about it's due to different version in npm...

P.S. hydrogen not find the IJavascript kernel, but let me play around it first, probably can solve this one myself. Thank you so much for your help.

Once IJavascript is installed, you need to register the corresponding kernel spec with jupyter (Hydrogen uses Jupyter to locate kernel specs). You can do so locally (ijs --ijs-install=local) or globally (ijs --ijs-install=local).

Alternatively, if you just run ijs, it will install the kernel spec locally and open a jupyter dashboard for you.

n-riesco commented 7 years ago

On 04/10/16 09:08, Pingshun Huang wrote:

Thanks @n-riesco https://github.com/n-riesco for saving my day again.

Also thanks to you, because this helps me update the instructions for Windows users.

pingshunhuangalex commented 7 years ago

@n-riesco Thanks all good now. The reason it says not find is because in atom my .js is recognised as Babel ES6 Javascript. Once I changed it to Javascript, it just kicks in naturally.

Not sure if it's possible to make hydrogen work in Babel ES6 Javascript too? If it's not part of the hydrogen development, then please just leave it, just out of curiosity. Can't thank you enough.

n-riesco commented 7 years ago

On 04/10/16 09:28, Pingshun Huang wrote:

@n-riesco https://github.com/n-riesco Thanks all good now. The reason it says not find is because in atom my .js is recognised as Babel ES6 Javascript. Once I changed it to Javascript, it just kicks in naturally.

Not sure if it's possible to make hydrogen work in Babel ES6 Javascript too? If it's not part of the hydrogen development, then please just leave it, just out of curiosity. Can't thank you enough.

I have a kernel for babel. See https://github.com/n-riesco/jp-babel

pingshunhuangalex commented 7 years ago

Gosh you have a kernel for everything! LOL. Thanks you so much! I'll close the issue and leave you alone now. Have a lovely day!