node v10.15 build failed
May 27, 2019 at 5:45amnode v10.15 build failed
May 27, 2019 at 5:45amHello team!
I am building theia ide by runing "yarn"
I got errors:
yarn install v1.16.0
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "[email protected]^2.0.0 || ^3.0.0 || ^4.0.0".
warning " > [email protected]" has incorrect peer dependency "[email protected]>= 2.3.1 < 3".
warning "workspace-aggregator-68e88639-6ce0-476f-8491-bbc5ebd23952 > /application-manager > [email protected]" has unmet peer dependency "[email protected]>=4.3.0".
warning "workspace-aggregator-68e88639-6ce0-476f-8491-bbc5ebd23952 > /debug > [email protected]" has unmet peer dependency "[email protected]".
warning "workspace-aggregator-68e88639-6ce0-476f-8491-bbc5ebd23952 > /application-manager > font-awesome-webpack > [email protected]" has incorrect peer dependency "[email protected]^2.3.1".
[5/5] Building fresh packages...
[10/14] ⠂ find-git-repositories
[8/14] ⠂ oniguruma
[-/14] ⠂ waiting...
[11/14] ⠂ /electron
error /home/d/theia/node_modules/electron: Command failed.
Exit code: 127
Command: node ./scripts/skip-replace-ffmpeg || (node ./electron-replace-ffmpeg && node ./electron-h264-test)
Arguments:
[email protected]:~/theia$
what is that?
my node version is "v10.15.3"
thank you
May 27, 2019 at 8:12am
please file an issue, there were some work done with removing ffmpeg code from electron. It seems to break. cc
Hi . is right - this build failure is a side-effect of a recent patch where we replace libffmpeg delivered with Electron. We are working on a follow-up patch that removes this side-effect. In the meantime you can work-around the failure by setting an environment variable before building: THEIA_ELECTRON_SKIP_REPLACE_FFMPEG=1
May 28, 2019 at 12:51am
thanks, I set an environment, the errors gone.