Search code examples
sublimetext3autoprefixer

Autoprefixer is not working on Sublime text 3, showing error


In sublime text 3, i tried to install Autofrefixer but didn't work. I have tried like this...

ctrl+shift+p > install package > Autoprefixer > Autoprefix css

Then a popup came out and showing me this message:

Autoprfixer couldn't find Node.js. Make sure it's in your $PATH by running `node-v` in your command line.

Here a image... popup


Solution

  • Type node -v in terminal. It should display message that The

    program 'node' is currently not installed.

    So type in terminal

    sudo apt install nodejs-legacy
    

    And try running prefix again. It should solve the problem.