eclipse-theia / generator-theia-extension

A Yeoman generator for extensions to the Theia IDE
Other
49 stars 37 forks source link

Error when starting theia-extension template #189

Closed CaGeek closed 9 months ago

CaGeek commented 9 months ago

I get the following error when starting Theia after generating a fresh template:

Couldn't find any versions for "@theia/userstorage" that matches "1.44.0" ? Please choose a version of "@theia/userstorage" from this list: (Use arrow keys) ❯ 1.43.1 1.43.0 1.42.1 1.42.0 1.41.0 1.40.1 1.40.0 1.39.0 1.39.0-next.20 1.39.0-next.19 1.39.0-next.18 1.39.0-next.16 1.39.0-next.14 1.39.0-next.13 1.39.0-next.12 1.39.0-next.11 1.39.0-next.9 1.39.0-next.8 1.39.0-next.7 1.39.0-next.6 1.39.0-next.5 1.39.0-next.4 1.39.0-next.2 1.39.0-next.1 1.38.0 1.38.0-next.45 1.38.0-next.43 1.38.0-next.40 1.38.0-next.38 1.38.0-next.32 1.38.0-next.7 1.38.0-next.5 1.38.0-next.0 1.37.2 1.37.1 1.37.0

1 @theia/application-package in @theia/userstorage [multiple-versions]

error Multiple versions of dependency @theia/application-package found.
1.43.1 in node_modules/@theia/userstorage/node_modules/@theia/application-package/package.json
1.44.0 in node_modules/@theia/application-package/package.json
1.43.1 in node_modules/@theia/editor/node_modules/@theia/application-package/package.json
1.43.1 in node_modules/@theia/filesystem/node_modules/@theia/application-package/package.json

2 @theia/core in @theia/userstorage [multiple-versions]

error Multiple versions of dependency @theia/core found.
1.43.1 in node_modules/@theia/userstorage/node_modules/@theia/core/package.json
1.44.0 in node_modules/@theia/core/package.json
1.43.1 in node_modules/@theia/editor/node_modules/@theia/core/package.json
1.43.1 in node_modules/@theia/filesystem/node_modules/@theia/core/package.json

3 @theia/request in @theia/userstorage [multiple-versions]

error Multiple versions of dependency @theia/request found.
1.43.1 in node_modules/@theia/userstorage/node_modules/@theia/request/package.json
1.43.1 in node_modules/@theia/editor/node_modules/@theia/request/package.json
1.43.1 in node_modules/@theia/filesystem/node_modules/@theia/request/package.json
1.44.0 in node_modules/@theia/request/package.json

4 @theia/variable-resolver [multiple-versions]

error Multiple versions of dependency @theia/variable-resolver found.
1.44.0 in node_modules/@theia/variable-resolver/package.json
1.43.1 in node_modules/@theia/editor/node_modules/@theia/variable-resolver/package.json

5 @theia/application-manager [theia-version-mix]

error Mix of @theia/* versions found.
1.44.0 in node_modules/@theia/application-manager/package.json
1.43.1 in node_modules/@theia/editor/package.json
1.43.1 in node_modules/@theia/editor/node_modules/@theia/application-package/package.json
1.43.1 in node_modules/@theia/editor/node_modules/@theia/core/package.json
1.43.1 in node_modules/@theia/editor/node_modules/@theia/request/package.json
1.43.1 in node_modules/@theia/editor/node_modules/@theia/variable-resolver/package.json
1.43.1 in node_modules/@theia/filesystem/package.json
1.43.1 in node_modules/@theia/filesystem/node_modules/@theia/application-package/package.json
1.43.1 in node_modules/@theia/filesystem/node_modules/@theia/core/package.json
1.43.1 in node_modules/@theia/filesystem/node_modules/@theia/request/package.json
1.43.1 in node_modules/@theia/userstorage/package.json
1.43.1 in node_modules/@theia/userstorage/node_modules/@theia/application-package/package.json
1.43.1 in node_modules/@theia/userstorage/node_modules/@theia/core/package.json
1.43.1 in node_modules/@theia/userstorage/node_modules/@theia/request/package.json

⛔ A mix of Theia versions is very likely leading to a broken application. ℹ️ Use yarn why to find out why those multiple versions of a package are pulled. ℹ️ Try to resolve those issues by finding package versions along the dependency chain that depend on compatible versions. ℹ️ Use resolutions in your root package.json to force specific versions as a last resort.