Can't import from jotail/utils in 1.3.1
See original GitHub issuecode:
import { atom } from 'jotai';
import { atomWithReducer, atomFamily } from 'jotai/utils';
error:
./node_modules/jotai/utils.mjs
Can't import the named export 'SECRET_INTERNAL_getScopeContext' from non EcmaScript module (only default export is available)
using react-scripts 4.03, without typescript.
Sorry, again I’m not able to reproduce this in codesandbox yet, it seems to work there fine… 😞
But it’s fixed locally if I pin 1.3.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Can't import my own modules in Python - Stack Overflow
In your particular case it looks like you're trying to import SomeObject from the myapp.py and TestCase.py scripts. From myapp.py, do import SomeObject....
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 Free
Top 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
Will go through their setup for frontend apps in a while, for now we’d prefer people have working setups
@MaxBittker could you test with the below install and let me know whether it works?
(Oh, this sounds like a tough one. I didn’t expect cra would pick mjs. cc: @barelyhuman )
Thanks for reporting. Can you share the codesandbox link and if we download the zip and run locally, it will repro?