decentraland/cli

Can I open scene on Linux Chrome ?

MykolaSauliak opened this issue · 3 comments

Seems that is not works on Ubuntu 19.10 Chrome and other browsers
Are there any trade offs ?

Just installed with npm install -g decentraland, dcl init, and dcl start. It doesn't seem to work.

On Ubuntu 18.04 using Brave Browser (but doesn't seem to be a browser related issue).

Error in terminal

Press CTRL+C to exit

(node:10968) UnhandledPromiseRejectionWarning: Error: spawn /home/philip/.nvm/versions/node/v13.13.0/lib/node_modules/decentraland/dist/xdg-open ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:10968) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:10968) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Error in Browser

0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8 Uncaught TypeError: Cannot read property 'length' of null
    at lengthBytesUTF8 (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at intArrayFromString (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at _glGetString (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at :8000/wasm-function[7133]:0x2b194a
    at :8000/wasm-function[7112]:0x2af2a2
    at :8000/wasm-function[7076]:0x2ad019
    at :8000/wasm-function[11173]:0x47a0bc
    at :8000/wasm-function[11133]:0x4725fd
    at :8000/wasm-function[11122]:0x471192
    at :8000/wasm-function[11099]:0x46f11b
    at :8000/wasm-function[10963]:0x45cc5e
    at :8000/wasm-function[10962]:0x45c832
    at Object._main (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at Object.callMain (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at doRun (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at run (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at runCaller (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at Object.removeRunDependency (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at 0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8
    at doCallback (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at done (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at Object.reconcile (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)
    at 0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8
    at IDBRequest.<anonymous> (0b8523d2-15f5-4fbe-8953-6d475fdb9a6f:8)

Screenshot_2020-08-22_16-51-57

Ok seems to be fixed. I noticed the ad-blocker on Brave was activated and turned that off. I think that might have fixed it. So if you have any kind of ad-blocker extension installed you may want to try disabling it.

Thanks @kirkins for the information. Will close the issue now