`dcl deploy` fails while calling `xdg-open`
Opened this issue · 2 comments
EibrielInv commented
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 in 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' ]
}
pabloes commented
in deploy.js
opn
package is deprecated, should use open
instead ?
EibrielInv commented
Another workaround is to downgrade to the LTS version of Node v14.16.0