-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
[email protected]
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: