I have a problem in my jenkins pipeline to run command npm install,
I check firstly my repo,
this project is a web application project, which contains not only angular code, also java code for backend.
I can also see the package.json file after runing my jenkins pipeline,
but I got this error:
Build Frontend
[Pipeline] sh
+ npm run-script build-si
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/jenkins/project/workspace/**/**/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/jenkins/project/workspace/**/**/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I make sure that this path is right, under this path I can see the package.json file.
any soöution?