-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Can't import the named export 'createContext' from non EcmaScript module (only default export is available) #3058
Comments
+1 same error |
1 similar comment
+1 same error |
+1 |
same error |
build same error 2.0.3 |
Return to version 2.2.5 |
same error, version 2.3.0 |
same error on version 2.3.0 |
same error on version 2.2.5 and 2.3.0 |
Can someone provide a reproduction so we can investigate, otherwise we're not able to procceed on this issue as the provide information is very limited |
+1
|
same error on version 2.2.5 |
+1 same error on version 2.3.2 |
same error |
have spent almost a full day tracking here. the project I maintain indirectly depends on swr via
|
same error。umi3 project,import ant-design/pro-componets,show the same error when npm start。the error version of swr is 2.3.3 |
Bug report
Description / Observed Behavior
In the project I created via create-react-app, when I run the build script, I get the following error
What kind of issues did you encounter with SWR?
build error
Expected Behavior
build success
How did you expect SWR to behave here?
Repro Steps / Code Example
Or share your code snippet or a CodeSandbox link is also appreciated!
Additional Context
SWR version.
swr@2.3.0
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: