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:
- F:\VS code\three js\material tailwind\Clone\FriendsZone\tailwind.config.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\tailwindcss\lib\lib\setupTrackingContext.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\tailwindcss\lib\index.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\postcss-loader\dist\utils.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\postcss-loader\dist\index.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\postcss-loader\dist\cjs.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\loader-runner\lib\loadLoader.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\loader-runner\lib\LoaderRunner.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\webpack\lib\NormalModule.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\webpack-manifest-plugin\dist\index.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\react-scripts\config\webpack.config.js
- F:\VS code\three js\material tailwind\Clone\FriendsZone\node_modules\react-scripts\scripts\start.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object. (F:\VS code\three js\material tailwind\Clone\FriendsZone\tailwind.config.js:46:13) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19
Any one help me, Thanks in Advance.
2条答案
按热度按时间toiithl61#
首先,试着检查文件是你真正写的,现代的ide可以突出显示错误的地方。试着仔细检查你安装tailwind的步骤。没有源代码很难帮助
ymzxtsji2#
删除整个node_modules文件夹并重新安装: