[Vuejs]-KeyError at / 'assets' and ModuleNotFoundError: No module named 'webpack_loader'

2👍

The error seems to be in the webpack package. This answer should help: Django Webpack Loader: "Assets" KeyError?

1👍

ModuleNotFoundError: No module named ‘webpack_loader’ (SOLVED)

If you already have done pip install django-webpack-loader==0.7.0

Do like this:

First do:

pip uninstall django-webpack-loader==0.7.0

or

pip uninstall django-webpack-loader

After that tap y and then enter

then:

pip install django-webpack-loader==0.7.0

0👍

In order to use django-webpack-loader>=1.0.0, you must ensure that webpack-bundle-tracker@1.0.0 is being used on the JavaScript side.

https://pypi.org/project/django-webpack-loader/

This will surely work for you!

Leave a comment