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

added missing dependency #586

Closed

Conversation

kzamanbd
Copy link

@kzamanbd kzamanbd commented Mar 6, 2025

import 'preline';

use this in js file

tailwind@1.0.0 dev /Users/kzaman/Sites/tailwind-starter
vite

VITE v6.2.0 ready in 753 ms

➜ Local: http://localhost:6500/
➜ Network: use --host to expose
➜ press h + enter to show help
✘ [ERROR] Could not resolve "@floating-ui/dom"

node_modules/.pnpm/preline@3.0.0/node_modules/preline/src/plugins/tooltip/index.ts:9:67:
  9 │ import { type Strategy, computePosition, autoUpdate, offset } from '@floating-ui/dom';
    ╵                                                                    ~~~~~~~~~~~~~~~~~~

You can mark the path "@floating-ui/dom" as external to exclude it from the bundle, which will
remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "vanilla-calendar-pro"

node_modules/.pnpm/preline@3.0.0/node_modules/preline/src/plugins/datepicker/vanilla-datepicker-pro.ts:1:25:
  1 │ import { Calendar } from "vanilla-calendar-pro";
    ╵                          ~~~~~~~~~~~~~~~~~~~~~~

You can mark the path "vanilla-calendar-pro" as external to exclude it from the bundle, which will
remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "@floating-ui/dom"

node_modules/.pnpm/preline@3.0.0/node_modules/preline/src/plugins/dropdown/index.ts:29:7:
  29 │ } from '@floating-ui/dom';
     ╵        ~~~~~~~~~~~~~~~~~~

You can mark the path "@floating-ui/dom" as external to exclude it from the bundle, which will
remove this error and leave the unresolved path in the bundle.

@kzamanbd kzamanbd closed this Mar 6, 2025
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

Successfully merging this pull request may close these issues.

1 participant