node.js - Autoprefixer command not found -


i have problem using autoprefixer tried installing using:

npm install -g autoprefixer 

and tried installing in project only:

npm install autoprefixer --save-dev 

but nothing seems help. every time ther error:

-bash: autoprefixer: command not found 

i using osx yosemite, node v4.1.1 , npm v3.3.4.

note not trying use autoprefixer gulp or grunt, trying make setup run npm script (as mentioned here).

if need additional info ask, provide needed. frustrating spent 2 hours trying fix without luck.

thanks smart answers!

the cli tool autoprefixer deprecated. there's still seperate package providing though.

you can use postcss-cli run autoprefixer cli:

npm install --global postcss-cli autoprefixer postcss --use autoprefixer *.css -d build/ 

see postcss -h help.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -