Cannot import from `@glimmer/tracking/primitives/cache`
See original GitHub issueUsing
@embroider/test-setup
0.47.2
ember-source
~3.28.0
ember-cli-babel
^7.26.6
And this code:
import { getValue } from '@glimmer/tracking/primitives/cache';
I’m getting this error:
Module not found: Error: Can't resolve '@glimmer/tracking/primitives/cache' in '$TMPDIR/embroider/2340f5/node_modules/ember-resources/dist/index.js'
Did you mean 'cache.js'?
BREAKING CHANGE: The request '@glimmer/tracking/primitives/cache' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
build: https://github.com/NullVoxPopuli/ember-resources/runs/4205184397?check_suite_focus=true#step:5:145
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How to Fix ImportError: Cannot Import Name in Python - Rollbar
The Python ImportError: cannot import name error occurs when an imported class is not accessible or is in a circular dependency.
Read more >What can I do about "ImportError: Cannot import name X" or ...
You have circular dependent imports. physics.py is imported from entity before class Ent is defined and physics tries to import entity that is...
Read more >How to Fix : “ImportError: Cannot import name X” in Python?
You can solve the “ImportError: Cannot import name X” Error by resolving the circular dependencies. You can do that either by eliminating ...
Read more >Cannot import AVCHD / MPEG-2 movies. | Q&A - Sony
Cannot import AVCHD / MPEG-2 movies. Your camera needs to be authenticated. Restart the computer. Turn on the camera and change the MENU...
Read more >Cannot import new rate lines for a Rate Model - ServiceNow
Solved: We are using the Rate Model and the documentation says that I can update existing rate lines, via the export/import functionality built...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@NullVoxPopuli Can’t wait to use ember-resources@4 any longer 😭
what was the fix again? I’m seeing
Can't resolve '@glimmer/tracking'