Open eric-gonzalez-tfs opened 1 month ago
BTW - I have a copy of my entire terminal transcript that I am willing to share over email.
Hi JFrog team, do you have any recommendations here?
@omerzi @eyalbe4 @yahavi
@eric-gonzalez-tfs, please remove any post or pull scripts from the package.json as they may interfere with the checksum calculations.s.
@eric-gonzalez-tfs, please remove any post or pull scripts from the package.json as they may interfere with the checksum calculations.s.
Hi @Or-Geva - thank you for the details. I can definitely test that and follow up.
Can you confirm if removing preinstall
, postinstall
, or other lifecycle scripts from package.json
is the official JF recommendation? This approach isn't practical as these scripts are crucial for our workflows.
Please advise on a more sustainable solution.
@eric-gonzalez-tfs Did you get a workaround for this ?
@eric-gonzalez-tfs Did you get a workaround for this ?
Hi @udhay13190 - I added omit-lockfile-registry-resolved=true
to my .npmrc
, deleted node_modules
, and re-generated the package-lock.json
and it has been working consistently since.
Unfortunately, I do not know the repercussions of adding this, and the JF team has not been responsive to my question (above.)
Describe the bug
The JFrog CLI is unable to publish build info for my application. I see errors regarding failed checksum calculations.
Current behavior
This shows the initial setup that I have been using to test:
Moments later the app runs it's npm
preinstall
andprepare
scripts, and we start seeing some additional details populate the logs...npm ls
and it goes on forever......
The temp build file looks like:
When I try a dry-run of the publish build info, I don't see any depedencies being captured.
Reproduction steps
Expected behavior
The JFrog CLI captures the dependencies correctly and the the
rt bp
dry run displays the correct dependencies.JFrog CLI version
jf version 2.68.0
Operating system type and version
MacOS Sonoma 14.4.1
JFrog Artifactory version
Cloud SaaS
JFrog Xray version
Cloud SaaS