Failed to start electron app using pnpm #11961
-
Bug Description:I'm using pnpm as package manager and an error occurs when starting electron app. I have checked that all extensions are using the same version and created a minimal reproduction, can anyone help me? Thanks in advance. Steps to Reproduce:
Additional Information
{
"private": true,
"name": "electron-app",
"version": "0.0.0",
"main": "src-gen/frontend/electron-main.js",
"dependencies": {
"@theia/core": "1.32.0",
"@theia/electron": "1.32.0",
"@theia/preferences": "1.32.0"
},
"devDependencies": {
"@theia/cli": "1.32.0",
"electron": "^15.5.7"
},
"scripts": {
"prepare": "pnpm build",
"build": "theia build --mode development",
"start": "theia start"
},
"theia": {
"target": "electron"
}
}
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@holazz thank you for the discussion, we don't officially support With
or
To identify what extension(s) is/are being pulled at different versions. |
Beta Was this translation helpful? Give feedback.
@holazz thank you for the discussion, we don't officially support
pnpm
as a package manager (we support yarn) but if you want to troubleshoot the error occurs when multiple versions of theia-extensions are being used.With
yarn
we could perform:or
To identify what extension(s) is/are being pulled at different versions.