-
Notifications
You must be signed in to change notification settings - Fork 20
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
Error: Cannot find module 'daisyui/dist/unstyled.rtl.js' #37
Comments
|
@russelgal is right, I'm using a similar approach |
Duplicate of #35 |
It still not work with node v21.0, daisy: 4.6.2
|
same. |
pnpm dev:open
node:internal/modules/cjs/loader:1090
const err = new Error(message);
^
Error: Cannot find module 'daisyui/dist/unstyled.rtl.js'
Require stack:
at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
at Function.resolve (node:internal/modules/helpers:125:19)
at _resolve (D:\Project\tov-template-main\node_modules.pnpm\[email protected]\node_modules\jiti\dist\jiti.js:1:251148)
at jiti (D:\Project\tov-template-main\node_modules.pnpm\[email protected]\node_modules\jiti\dist\jiti.js:1:253746)
at D:/Project/tov-template-main/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/unocss-preset-daisy/index.js:10:43
at evalModule (D:\Project\tov-template-main\node_modules.pnpm\[email protected]\node_modules\jiti\dist\jiti.js:1:256443)
at jiti (D:\Project\tov-template-main\node_modules.pnpm\[email protected]\node_modules\jiti\dist\jiti.js:1:254371)
at D:/Project/tov-template-main/uno.config.ts:12:26
at evalModule (D:\Project\tov-template-main\node_modules.pnpm\[email protected]\node_modules\jiti\dist\jiti.js:1:256443)
at jiti (D:\Project\tov-template-main\node_modules.pnpm\[email protected]\node_modules\jiti\dist\jiti.js:1:254371)
at loadConfigFile (file:///D:/Project/tov-template-main/node_modules/.pnpm/[email protected]/node_modules/unconfig/dist/index.mjs:153:13)
at async Object.load (file:///D:/Project/tov-template-main/node_modules/.pnpm/[email protected]/node_modules/unconfig/dist/index.mjs:76:24)
at async loadConfig (file:///D:/Project/tov-template-main/node_modules/.pnpm/@unocss[email protected]/node_modules/@unocss/config/dist/index.mjs:43:18)
at async reloadConfig (file:///D:/Project/tov-template-main/node_modules/.pnpm/@unocss[email protected][email protected]/node_modules/@unocss/vite/dist/index.mjs:89:20) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\Project\tov-template-main\node_modules\.pnpm\[email protected][email protected][email protected]\node_modules\unocss-preset-daisy\index.js'
]
}
Node.js v19.6.1
ELIFECYCLE Command failed with exit code 1.
Hello,
I'm trying to preset daisyui in Vue3+Ts, but this error occurred. I'm using pnpm for the build. Can you provide me with some ideas to solve this problem? Thank you very much.
The text was updated successfully, but these errors were encountered: