Skip to content
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

Error with ember-data 5.3.8: Could not find module @ember-data/adapter/rest #189

Open
lozjackson opened this issue Jul 1, 2024 · 1 comment · May be fixed by #190
Open

Error with ember-data 5.3.8: Could not find module @ember-data/adapter/rest #189

lozjackson opened this issue Jul 1, 2024 · 1 comment · May be fixed by #190

Comments

@lozjackson
Copy link

lozjackson commented Jul 1, 2024

Since upgrading ember-data I'm getting an error in the console

Error: Could not find module @ember-data/adapter/rest imported from active-model-adapter/active-model-adapter

I guess something changed with ember-data in that version.

I'm not sure where the problem is (this project, or ember-data) - I've created an issue in the ember-data repo here emberjs/data#9504

@runspired
Copy link
Contributor

This is happening because this library does not properly declare either a dependency or a peerDependency on ember-data or @ember-data/adapter

Adding the proper dependency to package.json should be enough to fix even without converting this library to be a v2 addon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants