Comments (5)
The stats/manifest file is read only for webpack-loader. It is supposed to be written to only by webpack and read by django. Django should never write to it.
from django-webpack-loader.
The error is on read.
from django-webpack-loader.
OK. I suspect you are using webpack config wrong. You should use path
option to specify the directory webpack should write to and use filename
to specify the name of the file. You are getting wrong results because you are using filename
where you should be using path
. Check webpack documentation: https://webpack.github.io/docs/configuration.html
from django-webpack-loader.
Please disregard to previous message. I thought I was replying to something else. Sorry.
from django-webpack-loader.
@jleclanche This seems to be an issue when using typescript. This has been reported before: django-webpack/webpack-bundle-tracker#12
I'd be happy to accept a PR against webpack-bundle-tracker
to fix the root cause.
from django-webpack-loader.
Related Issues (20)
- Refused to execute script from '..main.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. HOT 3
- Document better publicPath need for code splitting HOT 1
- get_files interface has changed HOT 1
- KeyError: 'status' when trying to `render_bundle` HOT 2
- Upgrading to Django 4.0 gives me "AttributeError: 'SafeString' object has no attribute 'get_bundle'" HOT 2
- Config.py enhancement please? HOT 4
- Exception in Loader.filter_chunks due to wrong webpack-stats.json data format HOT 5
- Need help with render_bundle after changing directory structure HOT 5
- STATIC_URL = '/static_dev/' is not respected HOT 1
- An proposal for a better `webpack_static` HOT 2
- Generated path in HTML not getting updated HOT 2
- Webpack loader blocks all requests silently if webpack-stats hangs at "compile" HOT 1
- Not loading image processed by webpack correctly HOT 7
- Problem with hot reload example on Node v18 LTS
- should FakeWebpackLoader also mock get_assets? HOT 1
- Support publicPath: "auto" HOT 2
- render _bundle error: TypeError: expected string or bytes-like object HOT 8
- I clone the simple app to my pycharm then install the dependency but get error when startup HOT 1
- `get_chunk_url` always uses `publicPath`, prevents cdn host. HOT 3
- critical css HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-webpack-loader.