You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Michael,
I am new to django-webpack and I am getting the following error while running django server. I also gone through issue created regarding the same, but its not resolving my problem.
Error reading webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
Can you help me out to get through??
The text was updated successfully, but these errors were encountered:
I had the same problem, so what i did is cd to node_modules/.bin
then i typed webpack, what happens is that ur bundles folder that contains the app.js AND the webpack-stats.json file end up being created in node_modules/.bin instead of the root directory of the django project
if you move those files into the correct path that will fix ur issue
i did it this way because when i type ./node_modules/.bin/webpack in cmd it doesnt work, and my workaround caused the files to be saved in the wrong directory
for the future you could try running node_modules\.bin\webpack in the root directory of the django project
Hi Michael,
I am new to django-webpack and I am getting the following error while running django server. I also gone through issue created regarding the same, but its not resolving my problem.
Error reading webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
Can you help me out to get through??
The text was updated successfully, but these errors were encountered: