Comments (7)
Hi! What version of postcss-cli
and node.js
do you use?
from django-compressor-autoprefixer.
$ postcss --version
postcss version 5.0.4
$ nodejs --version
v0.10.25
from django-compressor-autoprefixer.
Seems that new version of postcss require native Promises support, so you should update node.js to 0.12. Please let me know if it works or not.
Thanks.
from django-compressor-autoprefixer.
Hi Yuri, thanks for your reply. I have added promise support installing es6-promise patch with npm install -g es6-promise --save-dev
Then, /usr/local/bin/postcss contains:
#!/usr/bin/env node
require('../');
require('es6-promise').polyfill();
var postcss = require('postcss');
If I run via command line it works, but I can't get it hooked into Django.
Which are your settings for COMPRESS_AUTOPREFIXER_BINARY
and COMPRESS_AUTOPREFIXER_ARGS
?
from django-compressor-autoprefixer.
This works fine for me:
COMPRESS_AUTOPREFIXER_BINARY = "postcss"
COMPRESS_AUTOPREFIXER_ARGS = "--use autoprefixer"
from django-compressor-autoprefixer.
@paolodina I am also released new version of package with postcss
cli tool instead of autoprefixer
.
from django-compressor-autoprefixer.
I faced this issue, the solution is simply to update Node.js. If you’re using Ubuntu: http://stackoverflow.com/a/32502195/1576438
from django-compressor-autoprefixer.
Related Issues (2)
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-compressor-autoprefixer.