hey folks, I'm having issues trying to get NPM modules working with webpack. I've followed the instructions from https://figwheel.org/docs/npm.html and this is what I got:
2020-10-18 14:21:10.500:INFO::main: Logging initialized @2956ms to org.eclipse.jetty.util.log.StdErrLog
[Figwheel] Validating figwheel-main.edn
[Figwheel] figwheel-main.edn is valid \(ツ)/
[Figwheel] Compiling build dev to "resources/public/cljs-out/dev/main.js"
[Figwheel] Successfully compiled build dev to "resources/public/cljs-out/dev/main.js" in 8.716 seconds.
[Figwheel] Bundling: npx webpack --mode=development resources/public/cljs-out/dev/main.js -o resources/public/cljs-out/dev/main_bundle.js
[Figwheel:SEVERE] Bundling command failed
asset main.js 644 bytes [compared for emit] (name: main)
ERROR in main
Module not found: Error: Can't resolve 'resources/public/cljs-out/dev/main.js' in '/home/wcalderipe/dev/lab-figwheel'
webpack 5.1.3 compiled with 1 error in 58 ms
using [com.bhauman/figwheel-main "0.2.11"]
, and the dev.cljs.edn
looks like:
^{:auto-bundle :webpack
:watch-dirs ["test" "src"]
:css-dirs ["resources/public/css"]
:auto-testing true
:extra-main-files {:cards {:main lab-figwheel.cards}}}
{:main lab-figwheel.core
:devcards true}