Home > OS >  Trying to install animate.css with npm, but keep getting errors
Trying to install animate.css with npm, but keep getting errors

Time:06-18

I am trying to install animate.css with npm. But it is showing me a lot of error. I am new to javascript and node, I am trying to build a resume website. Here is a picture of all the errors. enter image description here

CodePudding user response:

After I installed animate.css in the way below

npm install animate.css --save

I simply had to import the CSS file like this from my node_modules:

@import "~animate.css/animate.css";

Cheers

CodePudding user response:

ror: "directory not empty". This means that files already exist in this folder. Just stop your terminal, delete the folder (which is in node_modules) and run again. If it doesn't work, restart your PC and try again.

  • Related