简体   繁体   中英

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

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. 在此处输入图像描述

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM