Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developing che-code in che-code is temporary impossible due to failing built-in extension #23163

Open
vitaliy-guliy opened this issue Sep 25, 2024 · 0 comments
Assignees
Labels
area/dogfooding Using Eclispe Che to code, test and build Eclipse Che area/editor/vscode Issues related to the Code OSS editor of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.

Comments

@vitaliy-guliy
Copy link
Contributor

vitaliy-guliy commented Sep 25, 2024

Describe the bug

Built-in extensions do not want to be activated because of failing che-api extension.

Activating extension 'eclipse-che.api' failed: require() of ES Module /projects/che-code/code/extensions/che-api/node_modules/@devfile/api/dist/index.js from /projects/che-code/code/extensions/che-api/out/impl/k8s-service-impl.js not supported.

Instead change the require of index.js in /projects/che-code/code/extensions/che-api/out/impl/k8s-service-impl.js to a dynamic import() which is available in all CommonJS modules..

I is critical if you need to develop che-code in the cluster.

Che version

next (development version)

Steps to reproduce

  • create a workspace from che-code repository
  • install node dependencies, compile and then launch che-code
  • check there are no errors appeared

Screenshots

Screenshot from 2024-09-25 16-17-16

@vitaliy-guliy vitaliy-guliy added kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. area/editor/vscode Issues related to the Code OSS editor of Che team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs. area/dogfooding Using Eclispe Che to code, test and build Eclipse Che labels Sep 25, 2024
@vitaliy-guliy vitaliy-guliy self-assigned this Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dogfooding Using Eclispe Che to code, test and build Eclipse Che area/editor/vscode Issues related to the Code OSS editor of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Projects
Status: 🚧 In Progress
Development

No branches or pull requests

1 participant