Open EibrielInv opened 2 years ago
On Ubuntu 18.04 and Node v16.8.0, when running dcl deploy fails with the following error.
dcl deploy
Would be great if you can add a -b parameter to prevent opening the browser, like in dcl start
-b
dcl start
Discovered 203 files. ✔ Deployment structure created. You need to sign the content before the deployment: ⠹ Signing app ready at http://localhost:8001/linkernode:internal/errors:464 ErrorCaptureStackTrace(err); ^ Error: spawn /home/username/.nvm/versions/node/v16.8.0/lib/node_modules/decentraland/dist/xdg-open ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19) at onErrorNT (node:internal/child_process:477:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/username/.nvm/versions/node/v16.8.0/lib/node_modules/decentraland/dist/xdg-open', path: '/home/username/.nvm/versions/node/v16.8.0/lib/node_modules/decentraland/dist/xdg-open', spawnargs: [ 'http://localhost:8001/linker' ] }
in deploy.js opn package is deprecated, should use open instead ?
opn
open
Another workaround is to downgrade to the LTS version of Node v14.16.0
v14.16.0
On Ubuntu 18.04 and Node v16.8.0, when running
dcl deploy
fails with the following error.Would be great if you can add a
-b
parameter to prevent opening the browser, like indcl start