-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
It seems that yarn global add @hyperspace/cli does not work :
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$ npm uninstall -g @hyperspace/cli
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/@hyperspace/cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/@hyperspace/cli/node_modules/mocha/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
removed 387 packages in 3.179s
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$ yarn global add @hyperspace/cli
yarn global v1.22.5
warning package.json: No license field
[1/4] Resolving packages...
warning @hyperspace/cli > random-words > mocha > debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning @hyperspace/cli > random-words > mocha > chokidar > fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
warning @hyperspace/cli > username > execa > cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "@hyperspace/cli@2.0.0" with binaries:
- hyp
Done in 81.66s.
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$ hyp info
bash: /home/marco/.nvm/versions/node/v14.17.0/bin/hyp: No such file or directory
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$ hyp daemon start
bash: /home/marco/.nvm/versions/node/v14.17.0/bin/hyp: No such file or directory
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$
While npm install -g @hyperspace/cli does actually work:
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$ npm install -g @hyperspace/cli
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
/home/marco/.nvm/versions/node/v14.17.0/bin/hyp -> /home/marco/.nvm/versions/node/v14.17.0/lib/node_modules/@hyperspace/cli/bin/hyp.js
> fd-lock@1.2.0 install /home/marco/.nvm/versions/node/v14.17.0/lib/node_modules/@hyperspace/cli/node_modules/fd-lock
> node-gyp-build
> fsctl@1.0.0 install /home/marco/.nvm/versions/node/v14.17.0/lib/node_modules/@hyperspace/cli/node_modules/fsctl
> node-gyp-build
> sodium-native@3.2.1 install /home/marco/.nvm/versions/node/v14.17.0/lib/node_modules/@hyperspace/cli/node_modules/sodium-native
> node-gyp-build "node preinstall.js" "node postinstall.js"
> utp-native@2.5.3 install /home/marco/.nvm/versions/node/v14.17.0/lib/node_modules/@hyperspace/cli/node_modules/utp-native
> node-gyp-build
> leveldown@5.6.0 install /home/marco/.nvm/versions/node/v14.17.0/lib/node_modules/@hyperspace/cli/node_modules/leveldown
> node-gyp-build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/@hyperspace/cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/@hyperspace/cli/node_modules/mocha/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ @hyperspace/cli@2.0.0
added 387 packages from 213 contributors in 98.05s
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$ hyp info
The daemon is not active. Please run:
hyp daemon start
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$ hyp daemon start
Hyperspace daemon started
Mirroring daemon started
Daemon is running.
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$ hyp info
No hypers active.
(base) marco@marco-U36SG:~/hypercore/hypercore-protocol$
node : v14.17.0
O.S. : Ubuntu 20.04 Desktop
Metadata
Metadata
Assignees
Labels
No labels