You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Cannot find module '../lib/theia'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/user/theia/dev-packages/cli/bin/theia:2:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
error Command failed with exit code 1.
I've looked in the dev-packages and I can see the cli is just an import for ../lib/theia but I just don't know where that lib directory is.
I've also tried to run yarn build in case that directory is generated at build time, but this command also returns an error:
{ Error: Command failed: yarn run build
error An unexpected error occurred: "spawn ENOMEM".
$ theiaext build
info If you think this is a bug, please open a bug report with the information provided in "/home/user/theia/packages/output/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
at Promise.all.then.arr (/home/user/theia/node_modules/execa/index.js:236:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
code: 1,
killed: false,
stdout:
'$ theiaext build\ninfo If you think this is a bug, please open a bug report with the information provided in "/home/user/theia/packages/output/yarn-error.log".\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\n',
stderr: 'error An unexpected error occurred: "spawn ENOMEM".\n',
failed: true,
signal: null,
cmd: 'yarn run build',
timedOut: false,
exitCode: 1 }
error Command failed with exit code 1.
Maybe you don't have enough memory, try with --max_old_space_size=4096. You could set as env variable for Node.js: export NODE_OPTIONS=--max_old_space_size=4096
Description
This is a newcomer here. I really like the Docker version but I'm unable to run from source.
When I try to run the suggested instructions for the browser I get the following error:
I've looked in the
dev-packages
and I can see the cli is just an import for../lib/theia
but I just don't know where thatlib
directory is.I've also tried to run
yarn build
in case that directory is generated at build time, but this command also returns an error:Reproduction Steps
yarn build
OS and Theia version:
Ubuntu
Theia master branch
The text was updated successfully, but these errors were encountered: