离子构建的问题
Problems with ionic build
我正在学习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.
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)
任何解决问题的想法。
提前致谢。
版本程序:
Angular CLI: 8.3.21
Node: 12.8.0
npm: 6.10.2
Windows 10 Pro 64 bits
转到项目中的 tsconfig.json 并搜索 'target' 属性,然后将其值更改为 'es5'`
我正在学习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.
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)
任何解决问题的想法。 提前致谢。
版本程序:
Angular CLI: 8.3.21
Node: 12.8.0
npm: 6.10.2
Windows 10 Pro 64 bits
转到项目中的 tsconfig.json 并搜索 'target' 属性,然后将其值更改为 'es5'`