yue / wey

Fast open source Slack desktop app
Other
1.67k stars 80 forks source link

Failed to download yue: Release not found: 404 #66

Closed gregpalaci closed 6 years ago

gregpalaci commented 6 years ago

Yue seems to be missing from npm? Failed to download yue: Release not found: 404

zcbenz commented 6 years ago

Can you paste the full log? It at least works on my machine and our CI servers.

gregpalaci commented 6 years ago

➜ wey git:(master) ✗ yarn yarn install v1.5.1 (node:8387) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. warning ../../package.json: No license field info No lockfile found. [1/5] 🔍 Validating package.json... warning wey@0.2.3: The engine "yode" appears to be invalid. [2/5] 🔍 Resolving packages... [3/5] 🚚 Fetching packages... warning gui@0.4.3: The engine "electron" appears to be invalid. [4/5] 🔗 Linking dependencies... [5/5] 📃 Building fresh packages... [1/2] ⢀ gui [2/2] ⢀ keytar [-/2] ⢀ waiting... [-/2] ⢀ waiting... error An unexpected error occurred: "/Users/gnb/Sites/wey/node_modules/gui: Command failed. Exit code: 1 Command: sh Arguments: -c node install.js Directory: /Users/gnb/Sites/wey/node_modules/gui

gregpalaci commented 6 years ago

`wey git:(master) ✗ npm i npm WARN rm not removing /Users/gnb/Sites/wey/node_modules/.bin/nopt as it wasn't installed by /Users/gnb/Sites/wey/node_modules/nopt

keytar@4.2.1 install /Users/gnb/Sites/wey/node_modules/keytar prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.0.0 runtime=node arch=x64 platform=darwin) CXX(target) Release/obj.target/keytar/src/async.o In file included from ../src/async.cc:4: ../../nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED' attribute((deprecated(message))) declarator ^ In file included from ../src/async.cc:4: ../../nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:164:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED' attribute((deprecated(message))) declarator ^ In file included from ../src/async.cc:4: ../../nan/nan.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:157:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED' attribute((deprecated(message))) declarator ^ In file included from ../src/async.cc:4: ../../nan/nan.h:1478:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return scope.Escape(node::MakeCallback( ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED' attribute((deprecated(message))) declarator ^ 4 warnings generated. CXX(target) Release/obj.target/keytar/src/main.o In file included from ../src/main.cc:1: ../../nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED' attribute((deprecated(message))) declarator ^ In file included from ../src/main.cc:1: ../../nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:164:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED' attribute((deprecated(message))) declarator ^ In file included from ../src/main.cc:1: ../../nan/nan.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback( ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:157:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED' attribute((deprecated(message))) declarator ^ In file included from ../src/main.cc:1: ../../nan/nan.h:1478:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return scope.Escape(node::MakeCallback( ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/gnb/.node-gyp/10.0.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED' attribute((deprecated(message))) declarator ^ ../src/main.cc:8:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] v8::String::Utf8Value(info[0]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/main.cc:9:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] v8::String::Utf8Value(info[1]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/main.cc:10:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] v8::String::Utf8Value(info[2]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/main.cc:17:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] v8::String::Utf8Value(info[0]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/main.cc:18:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] v8::String::Utf8Value(info[1]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/main.cc:25:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] v8::String::Utf8Value(info[0]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/main.cc:26:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] v8::String::Utf8Value(info[1]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/main.cc:33:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] v8::String::Utf8Value(info[0]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ ../src/main.cc:40:6: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations] *v8::String::Utf8Value(info[0]), ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/gnb/.node-gyp/10.0.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED' declarator attribute((deprecated)) ^ 13 warnings generated. CXX(target) Release/obj.target/keytar/src/keytar_mac.o SOLINK_MODULE(target) Release/keytar.node

gui@0.4.3 postinstall /Users/gnb/Sites/wey/node_modules/gui node install.js

Failed to download yue: Release not found: 404 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! gui@0.4.3 postinstall: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the gui@0.4.3 postinstall 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/gnb/.npm/_logs/2018-05-23T19_53_01_210Z-debug.log`

gregpalaci commented 6 years ago

➜ wey git:(master) ✗ node -v v10.0.0 ➜ wey git:(master) ✗ npm -v 5.6.0

zcbenz commented 6 years ago

Currently it is only supported to use Node v8 to build/run wey, this issue is being tracked at https://github.com/yue/wey/issues/1.