Missing `npx` command in machines
mcollina opened this issue · 2 comments
mcollina commented
When running the CITGM job, the npx
command is not available sometimes:
How is it possible?
richardlau commented
Because the job does this on Windows to create the Node.js "install":
call vcbuild release nosign x64
if %errorlevel% neq 0 exit /b %errorlevel%
echo on
set "PATH=%WORKSPACE%\node\Release;%PATH%"
mkdir Release\node_modules
robocopy /e deps\npm Release\node_modules\npm
copy deps\npm\bin\npm.cmd Release
cd ..
I've added
copy deps\npm\bin\npx.cmd Release
Test build: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/3446/nodes=win-vs2022/
richardlau commented
Test build: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/3446/nodes=win-vs2022/
I think this is now fixed -- at least Pino passed on that build.