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
[YARN] Can not install @bryntum product packages using yarn v2/v3 #5719
Comments
Changing the postinstall scripts seems to work: // package.json:
"scripts": {
- "postinstall": "node ../gantt-lib/build.js"
+ "postinstall": "node postinstall.js"
}, // postinstall.js
require("@bryntum/gantt-lib/build.js") |
@danielpza |
To clarify, the issue is with Yarn PnP. It works fine with yarn node modules linker on v2/v3:
|
Thanks @SergeyMaltsev, looking forward for a fix :-) |
@danielpza so if someone configures yarn with that |
Yarn PnP is the default strategy but can be disabled. Yes it is a workaround for using it with yarn v2... |
For more information about the different install modes with yarn v2 see https://yarnpkg.com/features/linkers |
@danielpza |
That would be super cool! Are there any workarounds for pnp? |
@lassesteffen does it have same problems as in yarn? |
Using yarn4, it's giving this error using
Checking the path, the file also doesn't exist. |
@lassesteffen |
We have released |
Forum post
Yarn v.2
Everything is ok when I install @bryntum/scheduler-angular. The package is installed successfully.
System info:
Yarn v.3
Related forum post
The text was updated successfully, but these errors were encountered: