-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 failing with the latest stable yarn #15552
Comments
hello, |
@benoitf I don't know. I'm going to figure it out |
sounds blocker? |
I'm not sure it's blocker as you can use a previous version of yarn (and end users are not impacted AFAIK) |
@benoitf sorry, I attached the wrong output. The description is updated. |
Got error on different module build:
|
Same here. Looks it's similar to #14145. I found ls node_modules/.bin/
My workspace is on Debian GNU/Linux 9.11. If my thought is reasonable, We can upgrade it to |
fixes eclipse-che/che#14145 eclipse-che/che#15552. Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
fixes eclipse-che/che#14145 eclipse-che/che#15552. Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
Just an FYI @azatsarynnyy -- the breaking change in yarn 1.21.1 was due to added bin key validation among other things which disallowed colons in the bin key name. The fact of the change being too restrictive has been discussed here: Though they have backed off some on the restrictive (allowing dots) it appears they will NOT be modifying the validation to allow colons, so all usage of theia:plugin and any other symlinks using colons should be changed. (plus, as mentioned, colons in symlinks wouldn't work in Windows anyways). |
I see that the commit fixes to use theia-plugin instead theia:plugin. However, there remains the issue of che:theia (https://github.com/eclipse/che-theia/blob/master/generator/package.json). All usage should be modified to che-theia. |
Hello @TheRealChssAddct |
Hello @TheRealChssAddct, thanks for your feedback! cc @azatsarynnyy created the following issue: #15771 to track yarn upgrade through the all projects which need these changes. |
fixes eclipse-che/che#14145 eclipse-che/che#15552 . Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
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 withyarn
.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.The text was updated successfully, but these errors were encountered: