themesberg / tailwind-phoenix-starter

Free and open-source starter kit for Phoenix (Elixir), Tailwind CSS and Flowbite
https://flowbite.com/docs/getting-started/phoenix/
MIT License
42 stars 2 forks source link

[ERROR] Could not resolve "flowbite/dist/flowbite.phoenix.js" #3

Open kbrown-axio opened 9 months ago

kbrown-axio commented 9 months ago

I'm seeing this error when running after following the instructions

✘ [ERROR] Could not resolve "flowbite/dist/flowbite.phoenix.js"

js/app.js:21:7:
  21 │ import "flowbite/dist/flowbite.phoenix.js";
     ╵        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can mark the path "flowbite/dist/flowbite.phoenix.js" as external to exclude it from the bundle, which will remove this error.

1 error [watch] build finished, watching for changes...

alexvinidiktov commented 6 months ago

I have resolved the same error by changing into the assets directory and executing:

npm install