question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Che Theia build failing with the latest stable yarn

See original GitHub issue

Describe the bug

Che Theia build failing with the latest stable yarn - 1.21.1

Steps to reproduce

Remove node_modules folder and build Che Theia with yarn.

The build is failed with several messages, like: warning package.json: Invalid bin entry for "che:theia" (in "@eclipse-che/theia-generator") or /bin/sh: theia:plugin: command not found

Looks like there’s some issue with creating symlinks in node_modules folder.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
vzhukovscommented, Jan 21, 2020

Hello @TheRealChssAddct, thanks for your feedback! cc @azatsarynnyy created the following issue: https://github.com/eclipse/che/issues/15771 to track yarn upgrade through the all projects which need these changes.

1reaction
monakacommented, Jan 11, 2020

Same here. Looks it’s similar to #14145.

I found theia:plugin in node_modules/.bin/ on my workspace but it wasn’t. Only theia-plugin is available.

ls node_modules/.bin/
acorn                          is-ci                          regjsparser
atob                           jest                           rimraf
babylon                        jest-runtime                   sane
concurrent                     jsesc                          seek-bunzip
concurrently                   json2yaml                      seek-table
conventional-changelog-writer  json2yml                       semver
conventional-commits-parser    json5                          sha.js
conventional-recommended-bump  JSONStream                     sl-log-transformer
cpx                            jsontoyaml                     sshpk-conv
detect-libc                    jsontoyml                      sshpk-sign
download-debug-adapters        js-yaml                        sshpk-verify
editorconfig                   lerna                          strip-indent
errno                          loose-envify                   terser
escodegen                      markdown-it                    theia-plugin
esgenerate                     miller-rabin                   tree-kill
esparse                        mime                           tsc
esvalidate                     mkdirp                         tsfmt
fuse                           mustache                       tslint
get-pkg-repo                   ncp                            tsserver
git-raw-commits                nexe                           uglifyjs
git-semver-tags                node-gyp                       uuid
handlebars                     nodetouch                      vscode-json-languageserver
he                             nopt                           watch
html-minifier                  prebuild-install               webpack
import-local-fixture           ps-tree                        webpack-cli
installServerIntoExtension     rc                             which

My workspace is on Debian GNU/Linux 9.11.

If my thought is reasonable, theia:plugin is just kept as it for the backward compatibility. And theia:plugin won’t run at least on Windows. (And in my case, also Linux.)

We can upgrade it to theia-plugin now, right ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to Quick Start on Theia - Stack Overflow
error Command failed with exit code 1. $ yarn run clean && yarn run build $ theiaext clean $ theiaext build [compile] Killed...
Read more >
Unable to build theia yarn build fails - Theia Community
error Command failed with exit code 1. info Visit yarn run | Yarn for documentation about this command. I have installed node-gyp v9.3.0...
Read more >
Quay Container Registry
Hosted private Docker repositories. Includes full user management and history. Free for public repositories.
Read more >
Chapter 2. Che-Theia IDE basics - Red Hat Customer Portal
commands: - name: theia:build actions: - type: exec component: che-dev command: > yarn workdir: /projects/theia - name: run actions: - type: vscode-task ...
Read more >
building for production...error: error:0308010c:digital envelope ...
You can re install the current LTS Node.js version from their official site. ... I am having mysterious build errors building che-theia (which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found