-
Notifications
You must be signed in to change notification settings - Fork 8
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
No matching export in "node_modules/@ngxs/store/fesm2022/ngxs-store.mjs" for import "getStoreMetadata" after migrating to NGXS 18.0.0 #91
Comments
I'm not sure if this project is still being maintained, last update was for angular version 14. I was able to update the library to version 18. Though, I'm not sure if it is the right move to import functionalities from @ngxs/store/internals, but at least this will have it support v.18 |
I have it ran and tested on angular v.18. Still trying to figure out how I can contact the maintainer to create a PR. |
hello @pham93 feel free to add me as a reviewer to your PR. I can help with that. |
any solution? i have error too in angular 18.0.0 |
@vinayaren31, @lapisanlangit ngxs-reset-plugin v4 is released yesterday. Could you please try it and let us know if the issue is resolved? @pham93 Thank you for your amazing contribution. Much appreciated. 🙏 |
Would appreciate a followup to this: not everyone uses standalone mode - keeping the module would be nice for those that don't. |
Describe the bug
After migrating from NGXS version 3.8.2 to 18.0.0, I encountered the following error:
No matching export in "node_modules/@ngxs/store/fesm2022/ngxs-store.mjs" for import "getStoreMetadata" node_modules/ngxs-reset-plugin/fesm2020/ngxs-reset-plugin.mjs:4:53: 4 │ import { ofActionSuccessful, InitState, UpdateState, getStoreMetadata, getValue, setValue, getActionTypeFromInstance, NGXS_PLUGINS } from '@ngxs/store';
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should run without errors after the migration.
Environment
NGXS Version: 18.0.0
Angular Version: 18.0.3
Node.js Version: 20.14.5
Browser: Chrome
The text was updated successfully, but these errors were encountered: