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
Post a Comment