离子构建的问题

Jua*_*hpe 1 angular ionic4

我正在学习 ionic 并且在编写命令时遇到以下问题

ionic build

我想生成文件夹www

https://github.com/jquishpe/imagenionic/blob/master/error1.png

C:\Personal\ionic\platzi-music>ionic build
> ng.cmd run app:build
Generating ES5 bundles for differential loading...
An unhandled exception occurred: Call retries were exceeded
See "C:\Users\HITSS\AppData\Local\Temp\ng-sOfQFc\angular-errors.log" for further details.
[ERROR] An error occurred while running subprocess ng.

        ng.cmd run app:build exited with exit code 127.

        Re-running this command with the --verbose flag may provide more information. 
Run Code Online (Sandbox Code Playgroud)

ionic build --verbose

https://github.com/jquishpe/imagenionic/blob/master/error2.png

文件内容 C:\Users\HITSS\AppData\Local\Temp\ng-sOfQFc\angular-errors.log

[error] Error: Call retries were exceeded
    at ChildProcessWorker.initialize (C:\Personal\ionic\platzi-music\node_modules\jest-worker\build\workers\ChildProcessWorker.js:193:21)
    at ChildProcessWorker.onExit (C:\Personal\ionic\platzi-music\node_modules\jest-worker\build\workers\ChildProcessWorker.js:263:12)
    at ChildProcess.emit (events.js:203:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
Run Code Online (Sandbox Code Playgroud)

任何解决问题的想法。提前致谢。

版本程序:

角 CLI:8.3.21

节点:12.8.0

npm:6.10.2

Windows 10 专业版 64 位

小智 8

转到项目中的 tsconfig.json 并搜索 'target' 属性,然后将其值更改为 'es5'`