Skip to content
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

Does not work with Nextjs #1

Open
Aex12 opened this issue May 3, 2022 · 0 comments
Open

Does not work with Nextjs #1

Aex12 opened this issue May 3, 2022 · 0 comments

Comments

@Aex12
Copy link

Aex12 commented May 3, 2022

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

error - ./node_modules/.pnpm/tailwind-animatecss@1.0.0_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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant