SamBouwer / any-docker

Dockerized all-in-one instance of an anytype node
MIT License
70 stars 7 forks source link

npx task remains stuck #20

Closed Shampra closed 1 year ago

Shampra commented 1 year ago

npx electron-builder@24.6.3 install-app-deps --platform=win32 --arch=x64 never finishes

Building Windows client...
  • electron-builder  version=24.6.3
  • loaded configuration  file=package.json ("build" field)
  • rebuilding native dependencies  dependencies=keytar@7.9.0 platform=win32 arch=x64

npx seems to have this problem sometimes. Using npm exec, it works

SamBouwer commented 1 year ago

Merged

rotu commented 1 year ago

Root cause https://github.com/npm/cli/issues/6662 is now fixed in npm@10.1.0!

SamBouwer commented 1 year ago

Root cause https://github.com/npm/cli/issues/6662 is now fixed in npm@10.1.0!

Thanks! I'll update the scripts and test. I'll need to add some info about npm/node version depencies anyway :)

SamBouwer commented 1 year ago

Root cause npm/cli#6662 is now fixed in npm@10.1.0!

This indeed seems to allow the use of npx instead of npm exec. Thanks again for mentioning :)