Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcl deploy fails while calling xdg-open #593

Open
EibrielInv opened this issue Oct 1, 2021 · 2 comments
Open

dcl deploy fails while calling xdg-open #593

EibrielInv opened this issue Oct 1, 2021 · 2 comments

Comments

@EibrielInv
Copy link

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
Copy link

pabloes commented Oct 1, 2021

in deploy.js
opn package is deprecated, should use open instead ?

@EibrielInv
Copy link
Author

Another workaround is to downgrade to the LTS version of Node v14.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants