hydraCode
hydraCode

Reputation: 112

Compiled with problems. in React

ERROR in ./node_modules/loaders.css/loaders.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/loaders.css/loaders.css)

Module build failed (from ./node_modules/postcss-loader/dist/cjs.js): Error: Cannot find module 'daisyui' Require stack:

Any one help me, Thanks in Advance.

Upvotes: 0

Views: 2403

Answers (2)

yassinecode
yassinecode

Reputation: 1

Removing the entire node_modules folder and re-installing:

rm -rf node_modules
npm install

Upvotes: 0

Victor Orlyk
Victor Orlyk

Reputation: 1843

First of all, try to check files which are actually written by you, modern ide can highlight places with errors. Try double checking the steps by which you have installed tailwind. Without source code hard to help

Upvotes: 0

Related Questions