menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Theia

Eclipse Theia - Cloud & Desktop IDE

Channels
Team

built theia-apps/theia-full-docker but lots of warnings no language support

March 25, 2020 at 5:34pm

built theia-apps/theia-full-docker but lots of warnings no language support

March 25, 2020 at 5:34pm
no syntax highlighting or language support working
[1/4] Resolving packages... warning /callhierarchy > /languages > /application-package > [email protected]: request has been deprecated, see https://github.com/request/request/ issues/3142 .... warning Resolution field "[email protected]" is incompatible with requested version "[email protected]^6.0.1" warning Resolution field "[email protected]" is incompatible with requested version "[email protected]^3.15.1" warning /plugin-ext > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning /plugin-ext-vscode > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning /cli > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > mocha > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > puppeteer > extract-zip > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > puppeteer-to-istanbul > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > babel-loader > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > less > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > less > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning /cli > /application-manager > webpack > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > webpack-cli > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > copy-webpack-plugin > cacache > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > electron-rebuild > node-gyp > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > electron-rebuild > node-gyp > [email protected]: request has been deprecated warning /cli > /application-manager > webpack > terser-webpack-plugin > cacache > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > copy-webpack-plugin > cacache > move-concurrently > [email protected]: Legacy versions of mkdirp are no longer support ed. ) warning /cli > /application-manager > css-loader > cssnano > autoprefixer > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. warning /cli > /application-manager > css-loader > cssnano > postcss-merge-rules > [email protected]: Browserslist 2 could fail on reading Browserslis t >3.0 config used in other tools. warning /cli > /application-manager > webpack-cli > webpack-addons > jscodeshift > recast > [email protected]: [email protected] /application-manager > /compression-webpack-plugin > cacache > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > webpack > watchpack > chokidar > fsevents > node-pre-gyp > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > webpack-cli > jscodeshift > babel-register > [email protected]: [email protected] /application-manager > webpack-cli > jscodeshift > babel-register > [email protected]: Legacy versions of mkdirp are no longer supported. warning /cli > /application-manager > webpack-cli > jscodeshift > [email protected]: ... warning /cli > /application-manager > webpack-cli > webpack-addons > jscodeshift > [email protected]: Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update! warning /cli > /application-manager > webpack-cli > jscodeshift > [email protected]: Package no longer supported. Contact [email protected] for more info. warning /cli > /application-manager > webpack-cli > webpack-addons > jscodeshift > [email protected]: Package no longer supported. Contact [email protected] for more info. warning /cli > /application-manager > webpack-cli > yeoman-generator > mem-fs-editor > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) warning /cli > /application-manager > copy-webpack-plugin > cacache > move-concurrently > copy-concurrently > [email protected]: Legacy versions of mkdirp a re no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) warning /cli > /application-manager > css-loader > cssnano > postcss-merge-rules > caniuse-api > [email protected]: Browserslist 2 could fail on readi ng Browserslist >3.0 config used in other tools. warning /cli > /application-manager > css-loader > cssnano > postcss-svgo > svgo > [email protected]: Legacy versions of mkdirp are no longer supported. Ple ase update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) [2/4] 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. ... warning "/debug > [email protected]" has unmet peer dependency "[email protected].". warning "/git > /scm > [email protected]" has unmet peer dependency "[email protected]^0.14.0 || ^15.0.0 || ^16.0.0". warning "/git > /scm > [email protected]" has unmet peer dependency "[email protected]^0.14.0 || ^15.0.0 || ^16.0.0". warning "/messages > [email protected]" has unmet peer dependency "[email protected]>=16.3.3". warning "/messages > [email protected]" has unmet peer dependency "[email protected]>=16.3.3". warning "/cli > /application-manager > [email protected]" has unmet peer dependency "[email protected]>=4.3.0". warning "/cli > /application-manager > font-awesome-webpack > [email protected]" has incorrect peer dependency "[email protected]^2.3.1".
any ideas?

March 26, 2020 at 2:35am
The logs when building are normal, do you see errors when actually starting the application?
I am not seeing severe errors - meanwhile I have added some additional plugins - currently on CMakeLists syntax is recognized.
root WARN Backend MiniBrowserEndpoint.configure is slow, took: 73.4 ms
root WARN Backend MetricsBackendApplicationContribution.onStart is slow, took: 73.3 ms
root INFO Configuring to accept webviews on '.+.webview..+' hostname.
root ERROR No plugin resolver found for the entry local_dir://home/project/theia_plugins
root INFO Theia app listening on http://0.0.0.0:3000.
root INFO [FireBlackHat.conan-tools-0.1.1.vsix]: trying to decompress into "/home/builduser/.theia/extensions/FireBlackHat.conan-tools-0.1.1.vsi x"...
root INFO [ms-python.python-2020.3.69010.vsix]: trying to decompress into "/home/builduser/.theia/extensions/ms-python.python-2020.3.69010.vsix" ...
root INFO [ms-vscode.cpptools-0.26.3.vsix]: trying to decompress into "/home/builduser/.theia/extensions/ms-vscode.cpptools-0.26.3.vsix"...
root INFO [tchojnacki.cpp-compile-0.0.2.vsix]: trying to decompress into "/home/builduser/.theia/extensions/tchojnacki.cpp-compile-0.0.2.vsix".. .
root INFO [twxs.cmake-0.0.17.vsix]: trying to decompress into "/home/builduser/.theia/extensions/twxs.cmake-0.0.17.vsix"...
root INFO [tchojnacki.cpp-compile-0.0.2.vsix]: decompressed
root INFO [FireBlackHat.conan-tools-0.1.1.vsix]: decompressed
root INFO [twxs.cmake-0.0.17.vsix]: decompressed
root INFO [ms-vscode.cpptools-0.26.3.vsix]: decompressed
root INFO [ms-python.python-2020.3.69010.vsix]: decompressed
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /home/builduser/.theia/extensions/FireBlackHat.conan-tools-0.1.1.vsix
root INFO Resolved "FireBlackHat.conan-tools-0.1.1.vsix" to a VS Code extension "[email protected]" with engines: { vscode: '^1.26.0' }
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /home/builduser/.theia/extensions/ms-python.python-2020.3.69010.vsix
root INFO Resolved "ms-python.python-2020.3.69010.vsix" to a VS Code extension "[email protected]" with engines: { vscode: '^1.42.0' }
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /home/builduser/.theia/extensions/ms-vscode.cpptools-0.26.3.vsix
root INFO Resolved "ms-vscode.cpptools-0.26.3.vsix" to a VS Code extension "[email protected]" with engines: { vscode: '^1.30.0' }
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /home/builduser/.theia/extensions/tchojnacki.cpp-compile-0.0.2.vsix
root INFO Resolved "tchojnacki.cpp-compile-0.0.2.vsix" to a VS Code extension "[email protected]" with engines: { vscode: '^1.20.0' }
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /home/builduser/.theia/extensions/twxs.cmake-0.0.17.vsix
root INFO Resolved "twxs.cmake-0.0.17.vsix" to a VS Code extension "[email protected]" with engines: { vscode: '^1.10.0' }
root INFO Deploying backend plugin "[email protected]" from "/home/builduser/.theia/extensions/FireBlackHat.conan-tools-0.1.1.vsix/extension/out /extension"
root INFO Deploying backend plugin "[email protected]" from "/home/builduser/.theia/extensions/ms-python.python-2020.3.69010.vsix/extension/ou t/client/extension"
root INFO Deploying backend plugin "[email protected]" from "/home/builduser/.theia/extensions/ms-vscode.cpptools-0.26.3.vsix/extension/dist/main"
root INFO Deploying backend plugin "[email protected]" from "/home/builduser/.theia/extensions/tchojnacki.cpp-compile-0.0.2.vsix/extension/exten sion"
root INFO Deploying backend plugin "[email protected]" from "/home/builduser/.theia/extensions/twxs.cmake-0.0.17.vsix/extension/out/extension"
root INFO Deploy plugins list took: 3901.2 ms
root INFO Using Git [2.17.1] from the PATH. (/usr/bin/git)
root INFO Detected keyboard layout from pressed keys: German (PC)
root WARN Collided keybinding is ignored; {"command":"actions.find","keybinding":"ctrl+f","when":null} collided with {"command":"core.find","keybinding":"ctrlcmd+f"}
root WARN Could not register keybinding:
{"command":"actions.find","keybinding":"ctrl+f","when":null}
Error: "ctrl+f" is in collision with something else [scope:0]
root WARN Collided keybinding is ignored; {"command":"passthrough","keybinding":"ctrl+f","context":"terminalActive"} collided with {"command":"terminal:find","keybinding":"ctrlcmd+f","context":"terminalActive"}
root WARN Could not register keybinding:
{"command":"passthrough","keybinding":"ctrl+f","context":"terminalActive"}
Error: "ctrl+f" is in collision with something else [scope:0]
root WARN Collided keybinding is ignored; {"command":"passthrough","keybinding":"ctrl+k","context":"terminalActive"} collided with {"command":"terminal:clear","keybinding":"ctrlcmd+k","context":"terminalActive"}
root WARN Could not register keybinding:
{"command":"passthrough","keybinding":"ctrl+k","context":"terminalActive"}
Error: "ctrl+k" is in collision with something else [scope:0]
root INFO [nsfw-watcher: 18] Started watching: /home/builduser/.theia
root WARN Frontend e.onStart is slow, took: 475.1 ms
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
terminal ERROR Couldn't attach - can't find terminal with id: 0
terminal ERROR Couldn't attach - can't find terminal with id: 1
root INFO Checking whether '--no-optional-locks' can be used with the current Git executable. Minimum required version is '2.15.0'.
root INFO '--no-optional-locks' is a valid Git option for the current Git version: '2.17.1'.
root ERROR Couldn't resize terminal -1, because it doesn't exist.
root ERROR Couldn't resize terminal -1, because it doesn't exist.
root INFO [nsfw-watcher: 18] Started watching: /home/project/.theia/launch.json
root INFO [24f56abc-68bc-486a-8ba2-910f4395cbd7] Sync of 5 plugins took: 485.8 ms
root INFO [nsfw-watcher: 18] Started watching: /home/project/.theia/settings.json
terminal ERROR Error attaching to terminal id 0, the terminal is most likely gone. Starting up a new terminal instead.
terminal ERROR Error attaching to terminal id 1, the terminal is most likely gone. Starting up a new terminal instead.
root INFO [nsfw-watcher: 18] Started watching: /home/project/gdews/osal_support/CMakeLists.txt
root INFO [nsfw-watcher: 18] Started watching: /home/project
root INFO [nsfw-watcher: 18] Started watching: /home/project
root INFO [hosted-plugin: 41] PLUGIN_HOST(41) starting instance
root INFO reply:initialize(0) 41 ms
root ERROR C/C++: I[08:03:08.770] <-- initialized
root ERROR C/C++: I[08:03:08.772] <-- workspace/didChangeConfiguration
root INFO Registering scopes for language: cpp.
root INFO The scopes have been successfully registered for cpp.
root INFO [nsfw-watcher: 18] Started watching: /home/project/gdews/osal_support/osal_support/include/pid_type.h
root INFO [nsfw-watcher: 18] Stopped watching: /home/project/gdews/osal_support/osal_support/include/osal_support.h
root INFO [nsfw-watcher: 18] Started watching: /home/project/gdews/osal_support/osal_support/include/osal_support.h
root INFO [nsfw-watcher: 18] Stopped watching: /home/project/gdews/osal_support/osal_support/include/pid_type.h

March 26, 2020 at 2:43pm
I haven't tested theia-apps yet, but using the following cmake extension I am able to see syntax highlighting in CMakeLists when starting Theia normally.
For example:
First of all - thanks a lot for your immediate responses! Yes - CMake ist the only one working for me I also need C ++ and Python and last but not least I need to be able to debug C ++ code
No problem :) The theia-full image does not seem to have the cpp-debug extension (an internal extension for debugging C++ which is present in theia-cpp (https://github.com/theia-ide/theia-apps/blob/master/theia-cpp-docker/latest.package.json#L20-L21)). If the following extension does not meet your needs, you can use vscode-cpptools. We are unable to use such a plugin due to licensing issues.
For information, in theia-apps we have many different examples of images specialized for different languages which you can most certainly use for inspiration.
thanks I'll try