dlc start triggers an error
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
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.
Hi @gonpombo8 , thanks for your response. Unfortunately, the page does not load. I will investigate further also.
I have a workaround, execute the statement dcl start adding --no-browser flag
nice. we still need to fix it but good to know that isn't a blocker