jfrog-cli
jfrog-cli copied to clipboard
npm install fails when no dependencies exist
Describe the bug
jf npm install fail when no dependencies exist in the project and the cache is clean.
Current behavior
The following error is returned:
12:06:56 [🚨Error] _cacache folder is not found in '/Users/yahavi/.npm/_cacache'. Hint: Delete node_modules directory and run npm install or npm ci.
Reproduction steps
package.json:
{
"name": "frog-greet",
"version": "1.0.0"
}
Run the following commands:
npm cache clean --force
jf npmc
jf npm install --build-name aaa --build-number 111
Expected behavior
No response
JFrog CLI version
2.31.0
Operating system type and version
Mac and Ubuntu runner in GitHub Actions
JFrog Artifactory version
No response
JFrog Xray version
No response