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

Error: Cannot find module 'daisyui' on every start (Low Priority #355

Open
chrisl8 opened this issue Oct 25, 2024 · 0 comments
Open

Error: Cannot find module 'daisyui' on every start (Low Priority #355

chrisl8 opened this issue Oct 25, 2024 · 0 comments

Comments

@chrisl8
Copy link
Contributor

chrisl8 commented Oct 25, 2024

Every time I start dawarich I see this in the log:

dawarich          | 14:18:11 css.1  |
dawarich          | 14:18:11 css.1  | Rebuilding...
dawarich          | 14:18:11 css.1  | Error: Cannot find module 'daisyui'
dawarich          | 14:18:11 css.1  | Require stack:
dawarich          | 14:18:11 css.1  | - /var/app/config/tailwind.config.js
dawarich          | 14:18:11 css.1  |     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
dawarich          | 14:18:11 css.1  |     at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
dawarich          | 14:18:11 css.1  |     at Function.resolve (node:internal/modules/cjs/helpers:108:19)
dawarich          | 14:18:11 css.1  |     at Function.resolve (/snapshot/tailwindcss/standalone-cli/patch-require.js:34:38)
dawarich          | 14:18:11 css.1  |     at _resolve (/snapshot/tailwindcss/node_modules/jiti/dist/jiti.js:1:251148)
dawarich          | 14:18:11 css.1  |     at jiti (/snapshot/tailwindcss/node_modules/jiti/dist/jiti.js:1:253746)
dawarich          | 14:18:11 css.1  |     at /var/app/config/tailwind.config.js:17:5
dawarich          | 14:18:11 css.1  |     at evalModule (/snapshot/tailwindcss/node_modules/jiti/dist/jiti.js:1:256443)
dawarich          | 14:18:11 css.1  |     at jiti (/snapshot/tailwindcss/node_modules/jiti/dist/jiti.js:1:254371)
dawarich          | 14:18:11 css.1  |     at /snapshot/tailwindcss/lib/lib/load-config.js:56:30 {
dawarich          | 14:18:11 css.1  |   code: 'MODULE_NOT_FOUND',
dawarich          | 14:18:11 css.1  |   requireStack: [ '/var/app/config/tailwind.config.js' ]
dawarich          | 14:18:11 css.1  | }

This doesn't prevent it from working, but is there a reason for this? Would it be non-trivial to fix this?

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