flowbite icon indicating copy to clipboard operation
flowbite copied to clipboard

Failed to load source map for `/node_modules/.pnpm/[email protected]/node_modules/flowbite/dist/datepicker.min.js`

Open KnifeFed opened this issue 1 year ago • 8 comments

Describe the bug When starting the Nuxt 3.5.3 dev server, I get the following warnings:

WARN  Failed to load source map for /node_modules/.pnpm/[email protected]/node_modules/flowbite/dist/datepicker.min.js.

WARN  Failed to load source map for /node_modules/.pnpm/[email protected]/node_modules/flowbite/dist/datepicker.turbo.min.js.

Desktop (please complete the following information):

  • OS: macOS 13.4

Additional context

I have the following in my tailwind.config.ts:

export default {
  content: ['./node_modules/flowbite/**/*.{js,ts}'],
  plugins: [
    require('flowbite/plugin'),
  ],
  …
}

I haven't used the date picker so I'm not sure if it should actually load the source maps at all, and for the minified version at that. Everything else is working fine though so this is just a minor issue I thought I'd let you know about.

KnifeFed avatar Jun 16 '23 12:06 KnifeFed

Same here!

RodrigoProjects avatar Jul 11 '23 20:07 RodrigoProjects

My datepicker does not work tho... What did you do to make it work?

RodrigoProjects avatar Jul 11 '23 20:07 RodrigoProjects

@RodrigoProjects I don't use the date picker so I don't know if it works, but if it doesn't work for you I assume it wouldn't work for me either and that this issue is more than just a nagging message then.

KnifeFed avatar Jul 12 '23 19:07 KnifeFed

The same problem without datepicker.

nadamai avatar Jul 16 '23 19:07 nadamai

I had to install the datepicker to use it in my nuxt 3 project. Its's supposed to already be installed with my nuxt 3 flowbite start guide correct?

RodrigoProjects avatar Jul 16 '23 19:07 RodrigoProjects

Hello everyone, same problem here. Did someone find a solution?

zxdream64230 avatar Jul 30 '23 19:07 zxdream64230

The same problem at nuxt3.7.3. No one cares about this problem?

byoungd avatar Sep 28 '23 03:09 byoungd

Hello everyone, same problem here. Did someone find a solution?

NativeAppDeveloper avatar Nov 25 '23 05:11 NativeAppDeveloper

Hello everyone,

Since v2.4.1 the datepicker is a core component of Flowbite so you no longer need to install it separately.

Please check the new guide here:

https://flowbite.com/docs/components/datepicker/#javascript-behaviour

Cheers, Zoltan

zoltanszogyenyi avatar Jun 27 '24 10:06 zoltanszogyenyi