Comments (6)
Fix:
$ git clone https://github.com/owais/django-webpack-loader.git
$ cd django-webpaco-loader
$ virtualenv venv
$ source venv/bin/activate
(venv)$ echo "Free as in beer" > LICENSE
Make sure to have your virtualenv activated before messing around with anything. Even if I'm misunderstanding your issue, You haven't activated your environment (it could be conflicting with another Python package in site-packages
from django-webpack-loader.
Hi,
I haven't activated my virtualenv for brevity. This is why I called pip with an absolute path, to ensure to get the right one. This is safe.
Your suggestion is no fix, you did not install the package. Also, run
python setup.y install
And my Free as in beer license is gone again.
from django-webpack-loader.
Alright, installed the package via pip inside my virtualenv:
So I'm not sure where the bug is here.
from django-webpack-loader.
Hi,
the difference between your code example and mine is that you create the Free as in beer LICENSE, after you ran pip install.
So now you overwrote the LICENSE file from django-webpack-loader.
Create the LICENSE file before you run pip install, then you can see the behavior
from django-webpack-loader.
@do3cc I couldn't reproduce this. Could you please confirm if this is still an issue? I'm closing the ticket for now.
from django-webpack-loader.
Checking setup.py, it was fixed in 45793c4 by @fladi
He fixed it in 5 months before I reported the bug, my bugreport coming in just three days before the 0.3.1. release with the fix from @fladi. Why I did not notice that the configuration was gone in master already I don't know.
from django-webpack-loader.
Related Issues (20)
- Mixed content The page was loaded over HTTPS, but requested an insecure script 'http://0.0.0.0:8080/main.js'. This request has been blocked; the content must be served over HTTPS. HOT 3
- 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
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.