Hi guys,
As of maybe last week, every fresh Theia build I do results in the app getting stuck indefinitely on the initial loading animation, never actually loading the app. I get the same outcome regardless of whether I build on Windows 10 i386, Raspbian armv7l or Ubuntu armv8.
I am following the build instructions on https://theia-ide.org/docs/composing_applications/
Here is the build output on Windows:
David@Soyuz MINGW64 ~/myapp2
$ yarn prepare
yarn run v1.22.4
$ yarn run clean && yarn build
$ theia clean
$ theia build
(node:14448) DeprecationWarning: Tapable.apply is deprecated. Call apply on the plugin directly instead
Hash: 8b763f79b78d693e382f
Version: webpack 4.43.0
Time: 75512ms
Built at: 07/06/2020 12:20:56 PM
Asset Size Chunks Chunk Names
0a32a80243e05284a5d741c5dc093f31.woff2 23.8 KiB [emitted]
11d1a2390613abf202bfd2ebbd5c4500.woff2 88.6 KiB [emitted]
154ccd182313c345d3b9dd8571931eb5.wasm 457 KiB [emitted] [big]
154ccd182313c345d3b9dd8571931eb5.wasm.gz 141 KiB [emitted]
674f50d287a8c48dc19ba404d20fe713.eot 162 KiB [emitted]
674f50d287a8c48dc19ba404d20fe713.eot.gz 95.9 KiB [emitted]
912ec66d7572ff821749319396470bde.svg 434 KiB [emitted] [big]
912ec66d7572ff821749319396470bde.svg.gz 131 KiB [emitted]
af7ae505a9eed503f8b8e6982036873e.woff2 75.4 KiB [emitted]
b06871f281fee6b241d60582ae9369b9.ttf 162 KiB [emitted]
b06871f281fee6b241d60582ae9369b9.ttf.gz 95.8 KiB [emitted]
bundle.js 7.51 MiB 0 [emitted] [big] main
bundle.js.gz 1.65 MiB [emitted] [big]
bundle.js.map 18.2 MiB 0 [emitted] [dev] main
bundle.js.map.gz 4.17 MiB [emitted] [big]
cf2aabacdc2b3a5768b03545cb1d8330.svg 21 KiB [emitted]
cf2aabacdc2b3a5768b03545cb1d8330.svg.gz 5.18 KiB [emitted]
de59a97248b44599e6747a27a943f738.woff2 19.8 KiB [emitted]
e19892df121e7f85c61754c54bbb7951.woff2 48.6 KiB [emitted]
e817279537a0417d042f62fbb1b99eea.gif 43.1 KiB [emitted]
fee66e712a8a08eef5805a46892932ad.woff 95.7 KiB [emitted]
vs/base/browser/ui/codiconLabel/codicon/codicon.ttf 46.3 KiB [emitted]
vs/base/browser/ui/codiconLabel/codicon/codicon.ttf.gz 25.1 KiB [emitted]
vs/base/worker/workerMain.js 178 KiB [emitted]
vs/base/worker/workerMain.js.gz 54.5 KiB [emitted]
vs/editor/editor.main.css 107 KiB [emitted]
vs/editor/editor.main.css.gz 21.3 KiB [emitted]
vs/editor/editor.main.js 2.39 MiB [emitted] [big]
vs/editor/editor.main.js.gz 572 KiB [emitted] [big]
vs/editor/editor.main.nls.de.js 48.9 KiB [emitted]
vs/editor/editor.main.nls.de.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.es.js 48.9 KiB [emitted]
vs/editor/editor.main.nls.es.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.fr.js 48.9 KiB [emitted]
vs/editor/editor.main.nls.fr.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.it.js 48.9 KiB [emitted]
vs/editor/editor.main.nls.it.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.ja.js 48.9 KiB [emitted]
vs/editor/editor.main.nls.ja.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.js 48.9 KiB [emitted]
vs/editor/editor.main.nls.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.ko.js 48.9 KiB [emitted]
vs/editor/editor.main.nls.ko.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.ru.js 48.9 KiB [emitted]
vs/editor/editor.main.nls.ru.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.zh-cn.js 49 KiB [emitted]
vs/editor/editor.main.nls.zh-cn.js.gz 11.4 KiB [emitted]
vs/editor/editor.main.nls.zh-tw.js 49 KiB [emitted]
vs/editor/editor.main.nls.zh-tw.js.gz 11.4 KiB [emitted]
vs/loader.js 29.5 KiB [emitted]
vs/loader.js.gz 8.7 KiB [emitted]
worker-ext.ed06c8bcf33c16e94f62.js 536 KiB [emitted] [immutable] [big]
worker-ext.ed06c8bcf33c16e94f62.js.gz 119 KiB [emitted]
worker-ext.ed06c8bcf33c16e94f62.js.map 1.75 MiB [emitted] [dev]
worker-ext.ed06c8bcf33c16e94f62.js.map.gz 407 KiB [emitted] [big]
Entrypoint main [big] = bundle.js bundle.js.map
[84] (webpack)/buildin/global.js 472 bytes {0} [built]
[149] ./node_modules/jsonc-parser/lib/esm/main.js + 4 modules 58.1 KiB {0} [built]
| 5 modules
[417] (webpack)/buildin/module.js 497 bytes {0} [built]
[532] ./node_modules/react-virtualized/dist/es/index.js + 69 modules 327 KiB {0} [built]
| 70 modules
[533] ./node_modules/uuid/dist/esm-browser/index.js + 9 modules 16.7 KiB {0} [built]
| 10 modules
[993] ./src-gen/frontend/index.js 5.88 KiB {0} [built]
[1175] ./node_modules/@theia/core/src/common/keyboard/layouts sync ^\.\/.*\.json$ 1.39 KiB {0} [built]
[1378] ./node_modules/moment/locale sync ^\.\/.*$ 3 KiB {0} [optional] [built]
[1472] ./node_modules/vscode-textmate/release sync 160 bytes {0} [built]
[1634] ./node_modules/@theia/json/node_modules/@theia/core/src/common/keyboard/layouts sync ^\.\/.*\.json$ 1.39 KiB {0} [built]
[2191] ./node_modules/idb/build/esm/index.js + 1 modules 10.1 KiB {0} [built]
| 2 modules
+ 2181 hidden modules
WARNING in ./node_modules/vscode-textmate/release/main.js 23:15-27
Critical dependency: the request of a dependency is an expression
@ ./node_modules/@theia/monaco/lib/browser/textmate/monaco-theme-registry.js
@ ./node_modules/@theia/monaco/lib/browser/monaco-theming-service.js
@ ./node_modules/@theia/plugin-ext/lib/main/browser/plugin-contribution-handler.js
@ ./node_modules/@theia/plugin-ext/lib/main/browser/plugin-ext-frontend-module.js
@ ./node_modules/@theia/plugin-ext/lib/plugin-ext-frontend-module.js
@ ./src-gen/frontend/index.js
WARNING in ./node_modules/vscode-textmate/release/main.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find SourceMap 'main.js.map': Error: Can't resolve './main.js.map' in 'C:\Users\David\myapp2\node_modules\vscode-textmate\release'
@ ./node_modules/@theia/monaco/lib/browser/textmate/monaco-theme-registry.js 69:24-50
@ ./node_modules/@theia/monaco/lib/browser/monaco-theming-service.js
@ ./node_modules/@theia/plugin-ext/lib/main/browser/plugin-contribution-handler.js
@ ./node_modules/@theia/plugin-ext/lib/main/browser/plugin-ext-frontend-module.js
@ ./node_modules/@theia/plugin-ext/lib/plugin-ext-frontend-module.js
@ ./src-gen/frontend/index.js
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
worker-ext.ed06c8bcf33c16e94f62.js (536 KiB)
912ec66d7572ff821749319396470bde.svg (434 KiB)
154ccd182313c345d3b9dd8571931eb5.wasm (457 KiB)
bundle.js (7.51 MiB)
vs/editor/editor.main.js (2.39 MiB)
vs/editor/editor.main.js.gz (572 KiB)
worker-ext.ed06c8bcf33c16e94f62.js.map.gz (407 KiB)
bundle.js.gz (1.65 MiB)
bundle.js.map.gz (4.17 MiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB).
This can impact web performance.
Entrypoints:
main (7.51 MiB)
bundle.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Child worker:
Asset Size Chunks Chunk Names
worker-ext.ed06c8bcf33c16e94f62.js 536 KiB 0 [emitted] [immutable] [big] main
worker-ext.ed06c8bcf33c16e94f62.js.map 1.75 MiB 0 [emitted] [dev] main
Entrypoint main = worker-ext.ed06c8bcf33c16e94f62.js worker-ext.ed06c8bcf33c16e94f62.js.map
[17] (webpack)/buildin/global.js 472 bytes {0} [built]
[28] ./node_modules/uuid/dist/esm-browser/index.js + 9 modules 16.7 KiB {0} [built]
| 10 modules
[164] (webpack)/buildin/module.js 497 bytes {0} [built]
+ 179 hidden modules
Done in 82.05s.
And the run output:
David@Soyuz MINGW64 ~/myapp2
$ yarn start
yarn run v1.22.4
$ theia start
(node:9940) ExperimentalWarning: The fs.promises API is experimental
root INFO Configuring to accept webviews on '.+.webview..+' hostname.
root WARN The directory referenced by local-dir:/c%3A/Users/David/.theia/plugins does not exist.
root WARN The directory referenced by local-dir:/c%3A/Users/David/.theia/extensions does not exist.
root INFO Deploy plugins list took: 5.2 ms
root INFO Theia app listening on http://localhost:3000.
Even after trying to load the app in the browser, nothing else is displayed on the terminal.
Here is my package.json:
{
"private": true,
"dependencies": {
"@theia/callhierarchy": "next",
"@theia/file-search": "next",
"@theia/git": "next",
"@theia/json": "next",
"@theia/markers": "next",
"@theia/messages": "next",
"@theia/mini-browser": "next",
"@theia/navigator": "next",
"@theia/outline-view": "next",
"@theia/plugin-ext-vscode": "next",
"@theia/preferences": "next",
"@theia/preview": "next",
"@theia/search-in-workspace": "next",
"@theia/terminal": "next"
},
"devDependencies": {
"@theia/cli": "next"
},
"scripts": {
"prepare": "yarn run clean && yarn build",
"clean": "theia clean",
"build": "theia build",
"start": "theia start"
}
}
Note: I get the same result regardless of build mode.
Perhaps it is an issue with my build config, but as far as I’m aware I didn’t change anything since last time I built successfully, so I’m not sure why the behaviour is different now.
Any help is much appreciated!
Thanks guys!