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

dlc start triggers an error #607

Open
jalmansa88 opened this issue Nov 30, 2021 · 4 comments
Open

dlc start triggers an error #607

jalmansa88 opened this issue Nov 30, 2021 · 4 comments

Comments

@jalmansa88
Copy link

What?

Trying to start a new scene from scratch using:
OS Linux Mint 20.1
NodeJS v16.13.0
Just installed Decentraland CLI

➜  decentraland dcl start
✔ Latest SDK installation found.
✔ Checking decentraland libraries
Building project using "npm run watch"

> [email protected] watch
> build-ecs --watch

> dev mode: true
> working directory: /home/almansa/projects/decentraland

> processing /src/game.ts
> bundling:
  - node_modules/@dcl/amd/dist/amd.js
  - node_modules/decentraland-ecs/dist/src/index.js
  - src/game.ts
> writing /bin/game.js
> writing /bin/game.js.lib

The compiler is watching file changes...

[HPM] Proxy created: /  -> https://peer-lb.decentraland.org/
[HPM] Proxy created: /  -> https://peer-lb.decentraland.org/

Preview server is now running

  Available on:

    http://127.0.0.1:8000?position=0%2C0&SCENE_DEBUG_PANEL
    http://192.168.1.129:8000?position=0%2C0&SCENE_DEBUG_PANEL

  Details:


Press CTRL+C to exit

node:internal/errors:464
    ErrorCaptureStackTrace(err);
    ^

Error: spawn /home/almansa/node/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/almansa/node/lib/node_modules/decentraland/dist/xdg-open',
  path: '/home/almansa/node/lib/node_modules/decentraland/dist/xdg-open',
  spawnargs: [ 'http://127.0.0.1:8000?position=0%2C0&SCENE_DEBUG_PANEL' ]
}
➜  decentraland 
@gonpombo8
Copy link
Contributor

This seems to be a problem with Linux and opening the browser via de cli.
Ignore the error, meanwhile you can open your preferred browser and go to http://127.0.0.1:8000?position=0%2C0&SCENE_DEBUG_PANEL.

@jalmansa88
Copy link
Author

Hi @gonpombo8 , thanks for your response. Unfortunately, the page does not load. I will investigate further also.

@jalmansa88
Copy link
Author

I have a workaround, execute the statement dcl start adding --no-browser flag

@gonpombo8
Copy link
Contributor

nice.
we still need to fix it but good to know that isn't a blocker

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