Background description
1. Ng server can start normally (no problem with compilation)
2. Ng build error
Error content (forgot the screenshot, * * * has indicated the intermediate content)
throw er; // Unhandled ‘error’ event *** Emitted ‘error’ event on ChildProcess instance at: *** errno: -4058, code: ‘ENOENT’, **** spawnargs: [ ‘–service=0.12.9’, ‘–ping’ ]
Solution:
Execute node_ Modules/esbuild/install.js file
node PATH/node_modules/esbuild/install.js
Build again
Read More:
- Node.js Error: throw er; // Unhandled ‘error‘ event [How to Solve]
- Node js events.js:183 throw er; // Unhandled ‘error’ event
- Error code: events.js:183 Thrower; //unhandled ‘error’ event – solution
- android mediaplayer went away with unhandled event after the recording stopped
- [Solved] Angular12 ng build Error: Index html generation failed.
- laravel-echo-server Run Error: [ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required.
- Tensorflow Error polling for event status: failed to query event: CUDA_ERROR_ILLEGAL_ADDRESS
- [Solved] unhandled error during execution of watcher callback
- Jenkins uses NPM to build Vue error, and the manual build is normal
- unhandled system error, NCCL version 2.7.8 [How to Solve]
- Quartz: ERROR threw an unhandled Exception [How to Solve]
- [Solved] throw new Error(“‘output.filename’ is required, either in config file or as –output-filename”);
- [kubernetes] the pod instance of calico node always reports an error and restarts
- Angular Error: No value accessor for form control with name ‘xxx’
- [Solved] error: ‘xcb_generic_event_t’ was not declared in this scope
- [Solved] Mybatis:Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance.
- [Solved] C++ Error: terminate called after throwing an instance of ‘char const‘
- Angular_ Error: Cannot assign to a reference or variable!
- [Solved] failed to req API:localhost:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException
- VUE: Property or method “deleteFun“ is not defined on the instance but referenced during render. [How to Fix]