-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Module not found after update to v11 #6596
Comments
Facing same issues. Was about to raise the same issue. |
the same :( |
Same here. |
Same issue here |
same here |
There's something wrong with the "exports" paths in I was able to fix it locally by find-and-replacing fesm2020 with fesm2022. |
Thanks @JasonWeinzierl I was not knowing much about these things. Was wondering about same until I found your comment and this reference for docs |
Facing same issues. Was about to raise the same issue. |
We face the same issue, and really need a fix, locally we can rename, but not in our build pipelines |
Same issue here. |
Same |
This fix works for me. Also there is the PR #6599 to fix it. |
This issue was closed, but I still have the same problem. Any recommendations? |
I've updated to 11.0.1 but the same problem |
1 similar comment
I've updated to 11.0.1 but the same problem |
finally, found it |
v11.0.2 works for me, please try |
Perfect. |
Unfortunately, v11.0.2 doesn't yet fully solve the problem. 14 07 2023 08:21:49.963:INFO [karma-server]: Karma v6.4.1 server started at http://localhost:9876/ Error: Cannot find module 'ngx-bootstrap/modal' ngx-bootstrap: 11.0.2 (there is no problem with ngx-bootstrap v9.0.0 from which I try to upgrade) |
@wojciechpolak I don't use Karma for a while, please create a small repo to reproduce issue |
Ok, I was able to solve it. A small change is tsconfig.json for "module" from es2020 to es2022 did the trick. |
After updating to v.11 I can't serve my project, getting "Failed to compile". For every module I get a message like:
Module not found: Error: Can't resolve 'ngx-bootstrap/modal'
.I'm using a module for importing ngx-bootstrap components:
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 11.0.0
Angular: 16
Bootstrap: 5.2.3
The text was updated successfully, but these errors were encountered: