【发布时间】:2018-09-28 06:51:28
【问题描述】:
我尝试像这样使用 AngularCLI 制作新项目:
新的我的应用程序梦想
结果是:
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning UNABLE_TO_VERIFY_LEAF_SIGNATURE: request to https://registry.npmjs.org/@angular-devkit%2fbuild-angular failed, reason: unable to verify the first certificate
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @angular/core@^6.1.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'my-app-dream'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! %appdata%\npm-cache\_logs\2018-09-28T06_46_24_071Z-debug.log
Package install failed, see above.
【问题讨论】:
-
你有什么版本的npm和node?span>
标签: node.js angular angular4-httpclient