Closed olafurw closed 1 year ago
can you try to run it with DEBUG=vite:vite-plugin-svelte npm run dev
, it should log the resolve difference that caused this warning to appear then https://github.com/sveltejs/vite-plugin-svelte/blob/2c863276d98d26665f7523fc63a87c9d3bc49abc/packages/vite-plugin-svelte/src/index.ts#L199
The debug log outputs a lot, you might have to grep for it, sorry.
The issue is caused by backslashes vs slashes. :see_no_evil:
vite:vite-plugin-svelte resolve difference for flowbite-svelte@0.34.9 flowbite-svelte - svelte: "C:\Users\IEUser\dev\flowbite-svelte-701\node_modules\.pnpm\flowbite-svelte@0.34.9_@popperjs+core@2.11.7_classnames@2.3.2_flowbite@1.6.5_svelte@3.58.0\node_modules\flowbite-svelte\dist\index.js", vite: "C:/Users/IEUser/dev/flowbite-svelte-701/node_modules/.pnpm/flowbite-svelte@0.34.9_@popperjs+core@2.11.7_classnames@2.3.2_flowbite@1.6.5_svelte@3.58.0/node_modules/flowbite-svelte/dist/index.js"
fixed in 2.1.1, thanks for the report.
Thanks for the rapid reply. Much appreciated.
Describe the bug
Had a warning pop up recently in my build that mentions this.
The package was
flowbite-svelte@0.34.9
so I gave them a bug report. But they mention that they have this defined.So I setup a repo and I see that I get this warning on the Windows build but not the Linux one. See this job if you open the Build section on each OS.
Their addition of those lines seems fine so I'm wondering if there is a problem in how the warning is given.
Reproduction URL
https://github.com/olafurw/flowbite-svelte-701
Reproduction
Info in the url above.
Logs
Logs in the github action log.
System Info