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

Che theia build for 7.59 failed to compile #21915

Closed
nickboldt opened this issue Jan 5, 2023 · 2 comments
Closed

Che theia build for 7.59 failed to compile #21915

nickboldt opened this issue Jan 5, 2023 · 2 comments
Labels
area/editor/theia Issues related to the che-theia IDE of Che area/editors kind/bug Outline of a bug - must adhere to the bug report template. kind/release Issue dedicated to a release (content, status, related PR, go/nogo/problem discussion, etc.) status/blocked Issue that can’t be moved forward. Must include a comment on the reason for the blockage. status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github.

Comments

@nickboldt
Copy link
Contributor

nickboldt commented Jan 5, 2023

Describe the bug

Che Theia 7.59.0 release build has failed. @azatsarynnyy please work your magic to update the project to whatever is needed to compile properly again. package.json / yarn.lock rebuild? some new commit upstream?

@eclipse-che/theia-remote-impl-che-server: yarn run v1.22.17
@eclipse-che/theia-remote-impl-che-server: $ yarn clean && yarn build && yarn test
@eclipse-che/theia-remote-impl-che-server: $ rimraf lib *.tsbuildinfo
@eclipse-che/theia-remote-impl-che-server: $ concurrently -n "format,lint,compile" -c "red,green,blue,purple" "yarn format" "yarn lint" "yarn compile"
@eclipse-che/theia-remote-impl-che-server: [compile] $ tsc -b
@eclipse-che/theia-remote-impl-che-server: [lint] $ if-env SKIP_LINT=true && echo 'skip lint check' || eslint --cache=true --no-error-on-unmatched-pattern=true '{src,tests}/**/*.ts'
@eclipse-che/theia-remote-impl-che-server: [lint] skip lint check
@eclipse-che/theia-remote-impl-che-server: [lint] yarn lint exited with code 0
@eclipse-che/theia-remote-impl-che-server: [format] $ if-env SKIP_FORMAT=true && echo 'skip format check' || prettier --check '{src,tests}/**/*.ts' package.json
@eclipse-che/theia-remote-impl-che-server: [format] skip format check
@eclipse-che/theia-remote-impl-che-server: [format] yarn format exited with code 0
Error: @eclipse-che/theia-remote-impl-che-server: [compile] src/node/che-server-workspace-service-impl.ts(63,49): error TS2339: Property 'getById' does not exist on type 'IRemoteAPI'.
Error: @eclipse-che/theia-remote-impl-che-server: [compile] src/node/che-server-workspace-service-impl.ts(67,49): error TS2339: Property 'getById' does not exist on type 'IRemoteAPI'.
Error: @eclipse-che/theia-remote-impl-che-server: [compile] src/node/che-server-workspace-service-impl.ts(75,58): error TS2339: Property 'getAllByNamespace' does not exist on type 'IRemoteAPI'.
Error: @eclipse-che/theia-remote-impl-che-server: [compile] src/node/che-server-workspace-service-impl.ts(79,49): error TS2339: Property 'update' does not exist on type 'IRemoteAPI'.
Error: @eclipse-che/theia-remote-impl-che-server: [compile] src/node/che-server-workspace-service-impl.ts(87,49): error TS2339: Property 'stop' does not exist on type 'IRemoteAPI'.
Error: @eclipse-che/theia-remote-impl-che-server: [compile] src/node/che-server-oauth-service-impl.ts(26,5): error TS2322: Type 'IOAuthProvider[]' is not assignable to type 'string[]'.
@eclipse-che/theia-remote-impl-che-server: [compile]   Type 'IOAuthProvider' is not assignable to type 'string'.
@eclipse-che/theia-remote-impl-che-server: [compile] error Command failed with exit code 1.
@eclipse-che/theia-remote-impl-che-server: [compile] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@eclipse-che/theia-remote-impl-che-server: [compile] yarn compile exited with code 1
@eclipse-che/theia-remote-impl-che-server: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@eclipse-che/theia-remote-impl-che-server: error Command failed with exit code 1.
@eclipse-che/theia-remote-impl-che-server: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@eclipse-che/theia-remote-impl-che-server: error Command failed with exit code 1.
lerna ERR! execute callback with error
lerna ERR! Error: Command failed: yarn run prepare
lerna ERR! error Command failed with exit code 1.
lerna ERR! error Command failed with exit code 1.
lerna ERR! 
lerna ERR! yarn run v1.22.17
lerna ERR! $ yarn clean && yarn build && yarn test
lerna ERR! $ rimraf lib *.tsbuildinfo
lerna ERR! $ concurrently -n "format,lint,compile" -c "red,green,blue,purple" "yarn format" "yarn lint" "yarn compile"
lerna ERR! [compile] $ tsc -b
lerna ERR! [lint] $ if-env SKIP_LINT=true && echo 'skip lint check' || eslint --cache=true --no-error-on-unmatched-pattern=true '{src,tests}/**/*.ts'
lerna ERR! [lint] skip lint check
lerna ERR! [lint] yarn lint exited with code 0
lerna ERR! [format] $ if-env SKIP_FORMAT=true && echo 'skip format check' || prettier --check '{src,tests}/**/*.ts' package.json
lerna ERR! [format] skip format check
lerna ERR! [format] yarn format exited with code 0
Error: lerna ERR! [compile] src/node/che-server-workspace-service-impl.ts(63,49): error TS2339: Property 'getById' does not exist on type 'IRemoteAPI'.
Error: lerna ERR! [compile] src/node/che-server-workspace-service-impl.ts(67,49): error TS2339: Property 'getById' does not exist on type 'IRemoteAPI'.
Error: lerna ERR! [compile] src/node/che-server-workspace-service-impl.ts(75,58): error TS2339: Property 'getAllByNamespace' does not exist on type 'IRemoteAPI'.
Error: lerna ERR! [compile] src/node/che-server-workspace-service-impl.ts(79,49): error TS2339: Property 'update' does not exist on type 'IRemoteAPI'.
Error: lerna ERR! [compile] src/node/che-server-workspace-service-impl.ts(87,49): error TS2339: Property 'stop' does not exist on type 'IRemoteAPI'.
Error: lerna ERR! [compile] src/node/che-server-oauth-service-impl.ts(26,5): error TS2322: Type 'IOAuthProvider[]' is not assignable to type 'string[]'.
lerna ERR! [compile]   Type 'IOAuthProvider' is not assignable to type 'string'.
lerna ERR! [compile] error Command failed with exit code 1.

-- https://github.com/eclipse-che/che-theia/actions/runs/3847674687/jobs/6554429253#step:8:1944

@nickboldt nickboldt added the kind/bug Outline of a bug - must adhere to the bug report template. label Jan 5, 2023
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 5, 2023
@nickboldt nickboldt added status/blocked Issue that can’t be moved forward. Must include a comment on the reason for the blockage. area/editor/theia Issues related to the che-theia IDE of Che area/editors kind/release Issue dedicated to a release (content, status, related PR, go/nogo/problem discussion, etc.) labels Jan 5, 2023
@nickboldt
Copy link
Contributor Author

nickboldt commented Jan 5, 2023

Looks like the :next buildh as been failing for 2 weeks too:

Error: @eclipse-che/theia-remote-impl-che-server: [compile] src/node/che-server-remote-api-impl.ts(12,45): error TS7016: Could not find a declaration file for module '@eclipse-che/workspace-client'. '/home/theia-dev/theia-source-code/node_modules/@eclipse-che/workspace-client/dist/server.js' implicitly has an 'any' type.
@eclipse-che/theia-remote-impl-che-server: [compile]   Try `npm install @types/eclipse-che__workspace-client` if it exists or add a new declaration (.d.ts) file containing `declare module '@eclipse-che/workspace-client';`
@eclipse-che/theia-remote-impl-che-server: [compile] error Command failed with exit code 1.
@eclipse-che/theia-remote-impl-che-server: [compile] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@eclipse-che/theia-remote-impl-che-server: [compile] yarn compile exited with code 1
@eclipse-che/theia-remote-impl-che-server: error Command failed with exit code 1.
@eclipse-che/theia-remote-impl-che-server: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@eclipse-che/theia-remote-impl-che-server: error Command failed with exit code 1.
@eclipse-che/theia-remote-impl-che-server: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! execute callback with error
lerna ERR! Error: Command failed: yarn run prepare
lerna ERR! error Command failed with exit code 1.
lerna ERR! error Command failed with exit code 1.
lerna ERR! 
lerna ERR! yarn run v1.22.17
lerna ERR! $ yarn clean && yarn build && yarn test
lerna ERR! $ rimraf lib *.tsbuildinfo
lerna ERR! $ concurrently -n "format,lint,compile" -c "red,green,blue,purple" "yarn format" "yarn lint" "yarn compile"
lerna ERR! [lint] $ if-env SKIP_LINT=true && echo 'skip lint check' || eslint --cache=true --no-error-on-unmatched-pattern=true '{src,tests}/**/*.ts'
lerna ERR! [format] $ if-env SKIP_FORMAT=true && echo 'skip format check' || prettier --check '{src,tests}/**/*.ts' package.json
lerna ERR! [compile] $ tsc -b
lerna ERR! [lint] skip lint check
lerna ERR! [lint] yarn lint exited with code 0
lerna ERR! [format] skip format check
lerna ERR! [format] yarn format exited with code 0
Error: lerna ERR! [compile] src/node/che-server-remote-api-impl.ts(12,45): error TS7016: Could not find a declaration file for module '@eclipse-che/workspace-client'. '/home/theia-dev/theia-source-code/node_modules/@eclipse-che/workspace-client/dist/server.js' implicitly has an 'any' type.
lerna ERR! [compile]   Try `npm install @types/eclipse-che__workspace-client` if it exists or add a new declaration (.d.ts) file containing `declare module '@eclipse-che/workspace-client';`
lerna ERR! [compile] error Command failed with exit code 1.
lerna ERR! [compile] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! [compile] yarn compile exited with code 1
lerna ERR! info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! 
lerna ERR!     at /home/theia-dev/theia-source-code/node_modules/lerna/node_modules/execa/index.js:236:11
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.

-- https://github.com/eclipse-che/che-theia/actions/runs/3731243162/jobs/6329245875#step:6:1944

@azatsarynnyy
Copy link
Member

Breaking changes were introduced in @eclipse-che/workspace-client by eclipse-che/che-workspace-client#95. It broke Che-Theia build. I'm preparing a Che-Theia PR to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che area/editors kind/bug Outline of a bug - must adhere to the bug report template. kind/release Issue dedicated to a release (content, status, related PR, go/nogo/problem discussion, etc.) status/blocked Issue that can’t be moved forward. Must include a comment on the reason for the blockage. status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github.
Projects
None yet
Development

No branches or pull requests

3 participants