guijs icon indicating copy to clipboard operation
guijs copied to clipboard

App stuck on "Downloading packages..."

Open vfonic opened this issue 4 years ago • 16 comments
trafficstars

I downloaded the app on my macOS and opened it. But now it's stuck on "Downloading packages..." screen. I tried restarting the app several times, but I always get the same error message.

I managed to right-click and inspect element, but I don't see any errors in the console.

Screenshots Screen Shot 2021-01-28 at 16 32 30

Desktop (please complete the following information):

  • OS: macOS Catalina 10.15.7
  • Node version: 14.15.4
  • Are you using nvm? No

vfonic avatar Jan 28 '21 15:01 vfonic

Where did you downloaded the app?

danielo515 avatar Feb 01 '21 19:02 danielo515

I'm pretty sure I downloaded it from the releases page: https://github.com/Akryum/guijs/releases

vfonic avatar Feb 02 '21 09:02 vfonic

can you tell me which one? image

I usually look for dmg 's for mac

danielo515 avatar Feb 02 '21 10:02 danielo515

Ok, it was guijs.app.tgz I think naming could be a bit better

danielo515 avatar Feb 02 '21 10:02 danielo515

Ok, it was guijs.app.tgz I think naming could be a bit better

haha, could have been way better. Tried building the app from the source in MacOS but the docs are not clear, also tried Tauiri's install guides, no luck yet. LMK, if you find something

sfx101 avatar Feb 17 '21 06:02 sfx101

I'm facing the same issue on ubuntu 20.04 LTS. I'm using the DEB

krushndayshmookh avatar Mar 07 '21 07:03 krushndayshmookh

i tried running the program using terminal and found that guijs-server is missing. so it automatically tries to install it but fails due to permission problems while writing to /usr/lib/node_modules.

trying again with sudo.

krushndayshmookh avatar Mar 07 '21 07:03 krushndayshmookh

again, prebuild-install fails.

prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/14.15.5"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/@guijs/server-core/node_modules/node-pty-prebuilt-multiarch/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@guijs/server-core/node_modules/node-pty-prebuilt-multiarch/.node-gyp'
gyp ERR! System Linux 5.4.0-65-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/@guijs/server-core/node_modules/node-pty-prebuilt-multiarch
gyp ERR! node -v v14.15.5
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 

krushndayshmookh avatar Mar 07 '21 07:03 krushndayshmookh

alright. so. running npm i -g @guijs/server-core --unsafe as root solved the problem.

krushndayshmookh avatar Mar 07 '21 07:03 krushndayshmookh

exact same problem on windows except im using .msi build just to check out the app..

Muphet avatar Aug 16 '21 08:08 Muphet

Same on Linux, installed from deb.

KaKi87 avatar Aug 25 '21 13:08 KaKi87

same on Mac... I tried: running the guijs from the cli, I get the error below

Same when I do this npm i -g @guijs/server-core --unsafe

Looks like the graphql-tools won't build with latest nodejs version. It is also deprecated.....


npm WARN deprecated [email protected]: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
npm ERR! code 1
npm ERR! path /Users/pat/.asdf/installs/nodejs/16.0.0/.npm/lib/node_modules/@guijs/server-core/node_modules/node-pty-prebuilt-multiarch
npm ERR! command failed
npm ERR! command sh -c prebuild-install || node scripts/install.js
npm ERR! CXX(target) Release/obj.target/pty/src/unix/pty.o
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info find Python using Python version 3.9.0 found at "/Users/pat/.asdf/installs/python/3.9.0/bin/python3"
npm ERR! (node:40199) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
npm ERR! gyp info spawn /Users/pat/.asdf/installs/python/3.9.0/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/Users/pat/.asdf/installs/nodejs/16.0.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/pat/.asdf/installs/nodejs/16.0.0/.npm/lib/node_modules/@guijs/server-core/node_modules/node-pty-prebuilt-multiarch/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/pat/.asdf/installs/nodejs/16.0.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/pat/Library/Caches/node-gyp/16.0.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/pat/Library/Caches/node-gyp/16.0.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/Users/pat/.asdf/installs/nodejs/16.0.0/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/pat/Library/Caches/node-gyp/16.0.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/pat/.asdf/installs/nodejs/16.0.0/.npm/lib/node_modules/@guijs/server-core/node_modules/node-pty-prebuilt-multiarch',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../src/unix/pty.cc:20:
npm ERR! In file included from ../../nan/nan.h:58:
npm ERR! In file included from /Users/pat/Library/Caches/node-gyp/16.0.0/include/node/node.h:63:
npm ERR! In file included from /Users/pat/Library/Caches/node-gyp/16.0.0/include/node/v8.h:30:
npm ERR! /Users/pat/Library/Caches/node-gyp/16.0.0/include/node/v8-internal.h:452:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
npm ERR!             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
npm ERR!                                 ~~~~~^~~~~~~~~~~
npm ERR!                                      remove_cv
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:776:50: note: 'remove_cv' declared here
npm ERR! template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
npm ERR!                                                  ^
npm ERR! 1 error generated.
npm ERR! make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/Users/pat/.asdf/installs/nodejs/16.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:365:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Darwin 20.5.0
npm ERR! gyp ERR! command "/Users/pat/.asdf/installs/nodejs/16.0.0/bin/node" "/Users/pat/.asdf/installs/nodejs/16.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/pat/.asdf/installs/nodejs/16.0.0/.npm/lib/node_modules/@guijs/server-core/node_modules/node-pty-prebuilt-multiarch
npm ERR! gyp ERR! node -v v16.0.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/pat/.npm/_logs/2021-08-26T15_38_00_725Z-debug.log

patbonecrusher avatar Aug 26 '21 15:08 patbonecrusher

Found out it don't work with nodejs 16. It works if you have 14.17.5 installed.

patbonecrusher avatar Aug 26 '21 18:08 patbonecrusher

I have this very same Node version running on Linux, yet I'm experiencing this issue. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, August 26th, 2021 at 8:17 PM, Patrick Laplante @.***> wrote:

Found out it don't work with nodejs 16. It works if you have 14.17.5 installed.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

KaKi87 avatar Aug 27 '21 08:08 KaKi87

I am having this issue with the linux deb and it's been over a year now, so what's the deal, is this ever going to work, or na?

MostHated avatar Feb 06 '22 02:02 MostHated

same on OSX 13.3 (Stuck downloading)

Cannot find binary path }', src/libcore/result.rs:1188:5 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

maximilianotaverna avatar Apr 06 '23 15:04 maximilianotaverna