Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jfrog-cli 2.74.0 (NPM integration): "Error: 8 [Error] failed to parse '{..}' from npm ls output" #2914

Open
akhter-ali-idexx opened this issue Mar 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@akhter-ali-idexx
Copy link

Describe the bug

on github actions, running ubuntu:latest and container node:20, we're executing jf npm ci which successfully runs. However, it runs an npm ls --json afterwards and fails to parse the JSON.

If possible, I'd like to omit npm ls --json entirely since npm ci is successful

Current behavior

jf npm ci executes and successfully downloads all packages
npm ls --json runs and fails to parse the JSON on github actions

Reproduction steps

In github actions, using ubuntu:latest and container node:20, with a large project which include multiple package.json files, execute jf npm ci

Expected behavior

Only jf npm ci to execute and not npm ls --json

JFrog CLI version

2.74.0

Operating system type and version

Github Actions ubuntu:latest (22.04)

JFrog Artifactory version

cloud

JFrog Xray version

No response

@akhter-ali-idexx akhter-ali-idexx added the bug Something isn't working label Mar 6, 2025
@akhter-ali-idexx
Copy link
Author

Image

@akhter-ali-idexx akhter-ali-idexx changed the title jfrog-cli 2.74.0 (NPM integration): "Error: 0 [Error] failed to parse '{..}' from npm ls output" jfrog-cli 2.74.0 (NPM integration): "Error: 8 [Error] failed to parse '{..}' from npm ls output" Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant