I regularly configure the project using "Python Webpack Boilerplate" guide. More specifically, I install Wagtail (Django), run npm command at frontend directory, enable live reloading feature, import Vue and also enable esbuild. I have always used Node 14.19.0, but lately thought to give you a chance of a newer version - 17.6.0. At the time of executing npm run build command, I get the following error:
/Users/filip/Desktop/dj-wgt/wgt/frontend/node_modules/loader-runner/lib/LoaderRunner.js:119
throw new Error("callback(): The callback was already called.");
^
Error: callback(): The callback was already called.
at context.callback (/Users/filip/Desktop/dj-wgt/wgt/frontend/node_modules/loader-runner/lib/LoaderRunner.js:119:10)
at Object.ESBuildLoader (/Users/filip/Desktop/dj-wgt/wgt/frontend/node_modules/esbuild-loader/dist/loader.js:62:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I regularly configure the project using "Python Webpack Boilerplate" guide. More specifically, I install Wagtail (Django), run
npm
command atfrontend
directory, enable live reloading feature, import Vue and also enableesbuild
. I have always usedNode 14.19.0
, but lately thought to give you a chance of a newer version -17.6.0
. At the time of executingnpm run build
command, I get the following error:I don't use Docker. I use
Python 3.9.0
, though.Any ideas how to solve this issue?