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
- How to fix the ERROR: Failed to build gem native extension in Centos 8
- [Solved] Virtual Machine Error: FAILURE: Build failed with an exception.Flutter
- [Solved] rk3588_buildroot Compile Error: ERROR: Running build_kernel failed!
- [Solved] Ubuntu Compile Rust Program Error: failed to run custom build command for openssl-sys v0.9.39
- spack install failed with bootstrapping [How to Solve]
- npm ERR! Failed at the [email protected] install script.
- Ubuntu 20.04 Desktop Install sublime-text Error: “Certificate verification failed”
- [Solved] CentOS Use Yum to install dependency: error: rpmdb open failed
- ros2 apt-get install error: E: Failed to fetch http://packages.ros.org…
- petalinux-build Error: ERROR: Task (/opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_compile) failed with exit code ‘1’
- [Solved] Ubuntu20.04 Error: “Failed to install the following Android SDK packages as some licences have not..“error
- [Solved] Ubuntu16.4Install vcs2016 Error: mount.vboxsf: mounting failed with the error: Invalid argument
- Linux Install Docker Error: Failed to restart docker.service: Unit docker.service not found.
- NXP mx8 Platform tensorflow-lite build error [How to Solve]
- Ansible Use yum module to install rpm Error: Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate v
- [Solved] yum Install rpmdb Error: error: rpmdb: BDB0113 failed: BDB1507 Thread died in Berkeley DB library
- Windows11 Install Ubuntu Error: WslRegisterDistribution failed with error: 0x800701bc
- Kylin arm64 linux configure: error: cannot guess build type; you must specify one
- C# WPF Framework: How to Build Caliburn.Micro Quickly