C:\Users\Administrator>npm install crypto-js --save
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Administrat
or\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Administrator\
package.json'
npm WARN Administrator No description
npm WARN Administrator No repository field.
npm WARN Administrator No README data
npm WARN Administrator No license field.
+ crypto-js@4.0.0
added 1 package from 1 contributor and audited 1 package in 2.861s
found 0 vulnerabilities
注意:warn !== error
参考:https://segmentfault.com/q/10...