Auto Animate isn't being imported #5187
Unanswered
rootedsoftware
asked this question in
Q&A
Replies: 1 comment
-
did you figure out how to get the console message to go away? I had this issue with another package and I added it to |
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
-
What version of Remix are you using?
1.7.0
Steps to Reproduce
I created a brand new app using create react app and another one using the vite create tool. Both of these worked just fine with the @formkit/auto-animate package installed.
I then created a new remix app using the create tool and then installed the auto-animate package
npm install @formkit/auto-animate
After installing I tried to runnpm run dev
and I get this errorI tried following the instructions here formkit/auto-animate#9 by adding
serverDependenciesToBundle: ['@formkit/auto-animate/react']
to the remix.config.js file with no luck. I also posted my testing in that issue and let them know I'd cross post here.I do have it installed in the package.json
Reproduction here https://github.com/Rooted-Software/remix-auto-animate-reproduction
Expected Behavior
Load and build without an issue as it does on other React projects
Actual Behavior
During the building I get this message
Beta Was this translation helpful? Give feedback.
All reactions