DenoDDeno
Powered by
Franky PF
Denoβ€’3y agoβ€’
2 replies
Franky P

Can't use npm package: Uncaught (in promise) TypeError: Could not resolve 'preact/hooks'

I get this error when trying to import the Preact version of Auto-animate in Fresh
https://auto-animate.formkit.com/#usage-preact
Screenshot_2023-11-18_at_5.03.20_PM.png
AutoAnimate - Add motion to your apps with a single line of code
A zero-config, drop-in animation utility that automatically adds smooth transitions to your web app. Use it with React, Solid, Vue, Svelte, or any other JavaScript application.
AutoAnimate - Add motion to your apps with a single line of code
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Uncaught (in promise) TypeError: Reflect.getMetadata is not a function
OxooxoOOxooxo / help
14mo ago
could not find npm package for
v1rtlVv1rtl / help
4y ago