theia: yarn theia start doesn't recieve message to confirm

Description

I have a working build of theia on my machine, but I can’t seem to get the webpage to load.

Reproduction Steps

I am running theia on an Ubuntu 18.04 node via ssh. When I run yarn theia start I see the following:

cades@kharazi-cades-dev:~/theia$ yarn theia start
yarn run v1.22.0
$ /home/cades/theia/node_modules/.bin/theia start
root INFO Configuring to accept webviews on '.+.webview..+' hostname.
root INFO Deploy plugins list took: 5.5 ms
root INFO Theia app listening on http://localhost:3000.

Where it will stay like the above indefinitely. When I attempt to open that in my browser @IPADDRESS:3000, I get a “unable to connect” error in firefox with all proxy settings set to “off”. What is strange is that at one point in time I do recall it working properly and I was able to interact with the web gui. However, when I came back and tried the command again it wouldn’t work.
OS and Theia version: OS: Ubuntu 18.04 Theia: 0.17-next.6d0abe58

Diagnostics:

cades@kharazi-cades-dev:~/theia$ nvm --version
0.33.5
cades@kharazi-cades-dev:~/theia$ node -v
v8.17.0
cades@kharazi-cades-dev:~/theia$ yarn -v
1.22.0
cades@kharazi-cades-dev:~/theia$ npm -v
6.13.4
cades@kharazi-cades-dev:~/theia$ yarn theia check:hoisted
yarn run v1.22.0
$ /home/cades/theia/node_modules/.bin/theia check:hoisted
🔍  Analyzing hoisted dependencies in the Theia extensions...
{ Error: ENOENT: no such file or directory, scandir '/home/cades/theia/packages'
    at Object.fs.readdirSync (fs.js:904:18)
    at collectIssues (/home/cades/theia/node_modules/@theia/cli/lib/check-hoisting.js:58:35)
    at Object.assert [as default] (/home/cades/theia/node_modules/@theia/cli/lib/check-hoisting.js:139:18)
    at Object.handler (/home/cades/theia/node_modules/@theia/cli/lib/theia.js:188:41)
    at Object.runCommand (/home/cades/theia/node_modules/yargs/lib/command.js:235:44)
    at Object.parseArgs [as _parseArgs] (/home/cades/theia/node_modules/yargs/yargs.js:1022:30)
    at Object.get [as argv] (/home/cades/theia/node_modules/yargs/yargs.js:965:21)
    at /home/cades/theia/node_modules/@theia/cli/lib/theia.js:304:38
    at Object.<anonymous> (/home/cades/theia/node_modules/@theia/cli/lib/theia.js:314:3)
    at Module._compile (module.js:653:30)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/cades/theia/packages' }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any help would be greatly appreciated.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (13 by maintainers)

Most upvoted comments

@kharazit, please use Node.js 10.x.

cades@kharazi-cades-dev:~/theia$ node -v v8.17.0

From Prerequisites

Node.js >= 10.11.0 AND < 12.x.

No. I have no idea what those are. How do I do that? Is it in the documentation?

https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#run-the-browser-example-with-ssl

Additional Info