When building the front-end package of the company’s test environment, an error was suddenly reported and the construction failed. After checking the log, an error was reported and the esbuild installation failed. I have not installed this esbuild on Jenkins server, and the code proposed by the development is no problem.
solution:
first look for the esbuild directory in the front-end package. I found that there are two esbuild directories in my front-end package, and then I went in and found that there are install JS file, NPM – V check your own NPM version. If it is greater than 7, execute
node node_modules/esbuild/install.js
after manual installation, build from Jenkins again, and there will be no error
Read More:
- [Solved] Jenkins+Ant Error: Error reading project file xxxxx
- Fastplanner compilation error: Could not find a package configuration file provided by “cmake_modules”
- Nginx Error: nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in /project/api/nginx.conf:
- [Solved] Error report of introducing Vue into ecarts GL
- [Solved]unpacking of archive failed: cpio: lstat failed – Not a directory
- Opensuse12.3 installation of VirtualBox error resolution
- [Solved] yum Install rpmdb Error: error: rpmdb: BDB0113 failed: BDB1507 Thread died in Berkeley DB library
- ./configure Command Execute error (Centos7 Install erlang)
- Failed to find Qt component “Widgets“ [How to Solve]
- Configure the node environment under Linux, internal/modules/cjs/loader.js:583 throw err; solution
- [Solved] source /etc/profile Error: not a valid identifier
- Win10 Start Linux error: Error: 0x800701bc WSL 2 [How to Solve]
- Linux Install Docker Error: Failed to restart docker.service: Unit docker.service not found.
- [Solved] Apex Install Error: ERROR: Command errored out with exit status 1
- [Solved] websocket error in Linux service: / lib64 / libc. So. 6: version ` glibc_2.17‘ not found
- [Solved] Ubuntu 18.04 Install opencv3.2.0 and opencv_contrib Error
- How to Solve NPM Error 426 Upgrade Required
- How to Use Apt get Command Under Mac OSX
- [Solved] Linux Error: mipsel-linux-gcc: fatal error: no input files
- Solutions to errors in installing xunsearch engine in centos8.0