ubuntu 18.04
npm install -q @angular/cli
output:
××××××××@××××××××-ThinkPad-S2:~$ npm install -q @angular/cli
npm WARN saveError ENOENT: no such file or directory, open '/home/××××××××/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/××××××××/package.json'
npm WARN ×××××××× No description
npm WARN ×××××××× No repository field.
npm WARN ×××××××× No README data
npm WARN ×××××××× No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ @angular/cli@7.2.0
added 294 packages from 178 contributors and audited 16179 packages in 58.403s
found 0 vulnerabilities
都是warn,不知道成功了没。