tailwind-animatecss icon indicating copy to clipboard operation
tailwind-animatecss copied to clipboard

Does not work with Nextjs

Open Aex12 opened this issue 3 years ago • 0 comments

When trying to use this module on a Nextjs application it fails with the following error:

error - ./node_modules/.pnpm/[email protected]_09fd6390c35d3a8fd7ec9f7f97366738/node_modules/tailwind-animatecss/plugin.js:2:0
Module not found: Can't resolve 'fs'

Import trace for requested module:
./tailwind.config.js
./helpers/css.js
./components/fullImageSection.jsx
./pages/index.js

https://nextjs.org/docs/messages/module-not-found
Native Node.js APIs are not supported in the Edge Runtime. Found `fs` imported.

Aex12 avatar May 03 '22 19:05 Aex12