A
Alokaiyatharth2704

getting this error while trying to deploy

jenkins@ip-172-31-24-212:~/workspace/auction-frontend$ npm install npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for esbuild-linux-32@0.14.29: wanted {"os":"linux","arch":"ia32"} (current: {"os":"linux","arch":"x64"}) npm ERR! notsup Valid OS: linux npm ERR! notsup Valid Arch: ia32 npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: x64 npm ERR! A complete log of this run can be found in: npm ERR! /var/lib/jenkins/.npm/_logs/2023-04-05T17_25_03_477Z-debug.log how to resolve this
S
skirianov392d ago
Can you change npm to yarn in your Jenkins job config?
Y
yatharth2704392d ago
worked thanks