Skip to content

Cannot find module 'tailwindcss' nextjs build #67607

Closed Answered by BorhanSaflo
C0wnuts asked this question in Help
Discussion options

You must be logged in to vote

A package listed under "dev dependencies" is meant for use during development and building. It's not included in the final build that will be served to the end user, but it's still needed for the build process. In this example, tailwind will be used in the build process to generate the CSS needed for the final build that users will see.

DevDependencies are a special category of npm packages that are only needed during the development phase of your project. Unlike regular dependencies required to run your application in production, devDependencies are used for tasks like testing, building, and local development. They are not included when your project is deployed to a production environment.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@C0wnuts
Comment options

Answer selected by C0wnuts
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants