Open seltzered opened 8 months ago
Also bumping into the same build issue with Theia-bluprint tagged at Theia 1.44.0 ( https://github.com/eclipse-theia/theia-blueprint/commit/81553f97f754fb49aa8464db4ac66ad1438ce069 ), so perhaps it's something more to do with my environment.
I was still experiencing this issue months later with the latest theia-blueprint, where doing a what should be an updated checkout (with git reset --hard
) would still lead to this issue. I also tried changing the cacheRoot directory location to ./applications (suggested in https://github.com/eclipse-theia/theia/issues/13126#issuecomment-2015938286 ), but can't tell if that improved anything and reverted cacheroot back to the pwd (.
).
Somehow what seemed to work (and I'm still confused as to why) was trying git clean -xfd
per the advice in https://github.com/eclipse-theia/theia/issues/9508#issuecomment-915908079 , which'll clean out node_modules akin to the advice in https://github.com/eclipse-theia/theia/issues/13126#issuecomment-1839306133 . Notably, this was also added to the Jenkinsfile in https://github.com/eclipse-theia/theia-blueprint/commit/bf31e6c3659c3672bd7b0494b1a827f00a6933d1 .
All this said, is there perhaps some guidance that could be added into the Readme to help those encountering this issue? Particularly for those just getting started and not doing automated builds? I've been bumping into it intermittently for a couple years.
Bug Description:
Repeating the issue I've also left a comment on in https://github.com/eclipse-theia/theia/issues/13126 , where I'm noticing I can't seem to build theia-blueprint (commit https://github.com/eclipse-theia/theia-blueprint/commit/4682fb920d42db913b630faa36d35449ba0657d8 ) in my current environment and end up with this error:
Steps to Reproduce:
theia-blueprint
foldergit reset --hard master
andyarn clean
yarn && yarn build && yarn download:plugins
yarn electron package:preview
./applications/electron/dist/linux-unpacked/theia-ide-electron-app
end up with the following error:
Environment: