Akryum / guijs

🐣️ The app that makes your #devlife easier.
https://guijs.dev
MIT License
1.28k stars 41 forks source link

App stuck on "Downloading packages..." #88

Open vfonic opened 3 years ago

vfonic commented 3 years ago

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):

danielo515 commented 3 years ago

Where did you downloaded the app?

vfonic commented 3 years ago

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

danielo515 commented 3 years ago

can you tell me which one? image

I usually look for dmg 's for mac

danielo515 commented 3 years ago

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

sfx101 commented 3 years ago

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

krushndayshmookh commented 3 years ago

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

krushndayshmookh commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

Muphet commented 3 years ago

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

KaKi87 commented 3 years ago

Same on Linux, installed from deb.

patbonecrusher commented 3 years ago

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 graphql-tools@4.0.8: 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 node-gyp@7.1.2
npm ERR! gyp info using node@16.0.0 | 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 commented 3 years ago

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

KaKi87 commented 3 years ago

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.

MostHated commented 2 years ago

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?

maximilianotaverna commented 1 year ago

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.