import of blueprintjs gives The requested module '/_snowpack/pkg/react-transition-group.v2.9.0.js' does not provide an export named 'CSSTransition' #2949
Unanswered
jesseczko
asked this question in
Troubleshooting
Replies: 1 comment
-
I have also come across this issue. Trying to use recharts with snowpack results in the following error when running in development:
Doing some digging, the path to react-transition-group v2.9.0 is recharts -> react-smooth -> react-transition-group. Looking at the documentation for this error, it is suggested to add the package as an entry to Packages used:
Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm evaluating snowpack to see how it handles dependencies and ran into this issue. Any ideas on how to fix this?
Uncaught SyntaxError: The requested module '/_snowpack/pkg/react-transition-group.v2.9.0.js' does not provide an export named 'CSSTransition'
Steps to reproduce:
npx create-snowpack-app blueprint-snowpack --template @snowpack/app-template-react
npm i @blueprintjs/core --save
import { Button } from "@blueprintjs/core";
inApp.jsx
<Button>foo</Button>
element in the jsx ofApp.jsx
Beta Was this translation helpful? Give feedback.
All reactions