npm install angular-cli无法正常工作

时间:2018-07-10 16:49:58

标签: node.js angular npm angular-cli npm-install

我安装了最新的nodeJS(v.8.9.1)和npm(6.1.0),尽管即时通讯出现问题

npm WARN saveError ENOENT: no such file or directory, open 
'F:\AngularProject\Node\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 
'F:\AngularProject\Node\package.json'
npm WARN @angular/core@2.4.10 requires a peer of rxjs@^5.0.1 but none is 
installed. You must install peer
dependencies yourself.
npm WARN Node No description
npm WARN Node No repository field.
npm WARN Node No README data
npm WARN Node 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":"darw
in","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ angular-cli@1.0.0-beta.28.3
added 922 packages from 761 contributors and audited 5006 packages in 
280.149s
found 14 vulnerabilities (1 low, 9 moderate, 4 high)
run `npm audit fix` to fix them, or `npm audit` for details

我已经在网上搜索了,但无法进行排序。我尝试了一些可能的方法,例如清除npm缓存,安装最新的npm,在管理员控制台中尝试过。但仍然无法找出答案。

0 个答案:

没有答案