CSS Less @keyframes animation error

How to solve when you get Less @keyframe animation error. Follow the following steps:

  • Check less version and upgrade it if it is not latest globally by
    sudo npm install less@3.9.0 -g
  • Check less version by   lessc -v
  •  If above command gives an error "/usr/bin/env: ‘node’: No such file or
    
    directory" then run below command
  • ln -s /usr/bin/nodejs /usr/bin/node
(Reason why to run this command - if you install from a package manager
your bin may be called nodejs so you just need to symlink it like so "ln
-s /usr/bin/nodejs /usr/bin/node")

Leave a Comment