首页 > 解决方案 > 创建新的 Angular 应用程序时出现多个错误

问题描述

开始倾斜,但我在创建新应用程序的 CLI 过程中遇到了问题。

任何帮助将不胜感激。

尝试清除缓存,重新启动,删除并重新创建。

> node --version
v12.4.0
> ng --version
@angular-devkit/architect    0.800.3
@angular-devkit/core         8.0.3
@angular-devkit/schematics   8.0.3
@schematics/angular          8.0.3
@schematics/update           0.800.3
rxjs                         6.4.0
> ng new my-first-app
npm WARN deprecated mixin-deep@1.3.1: Critical bug fixed in v2.0.1, please upgrade to the latest version.
npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm WARN deprecated set-value@0.4.3: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm ERR! path A:\Test\Test\my-first-app\node_modules\.babel-runtime.DELETE
npm ERR! code EBUSY
npm ERR! errno -4082
npm ERR! syscall rename
npm ERR! EBUSY: resource busy or locked, rename 'A:\Test\Test\my-first-app\node_modules\.babel-runtime.DELETE' -> 'A:\Test\Test\my-first-app\node_modules\babel-runtime'

标签: node.jsangular

解决方案


推荐阅读