-
Notifications
You must be signed in to change notification settings - Fork 34
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
Scanning npm project stops after some minutes with no result #110
Comments
Thanks for reporting this issue, @jbackes. Please check the following:
If all of the above didn't work for you, you can enable debug mode. See Troubleshooting. |
Hi @yahavi and thanks for your reply! I already checked all your recommendations:
The only difference I see between your test and my setup: You seem to be using MacOS, I'm using Windows 10 and I think there is some platform specific code in the NpmDriver class so maybe.... |
@jbackes, Interesting! If you figure out what is the platform-specific code in the NpmDriver, please let me know. |
@yahavi I tested today with a Macbook and it just works. So maybe it has to do with my Windows machine or with Windows in general, I don't know. The NpmDriver class uses |
@jbackes Please let me know if that helped. |
@yahavi |
@jbackes, The command executor is a base component for many plugins we maintain - Jenkins Artifactory plugin, Bamboo Artifactory plugin, this plugin, and more. It has extensive tests for each platform, including unit tests and integration tests. All tests run on Windows and Linux (see Appveyor.yml). We also perform an extensive sanity process before each release. However, due to dependency on many environments and tools, sometimes issues may happen. In the last releases (1.9.0 and 1.9.1) we resolved some issue popped up in npm 7 (see this PR). |
Describe the bug
I have a very basic angular project (see attached package.json package.json.zip, it's zipped since github does not support json attachments). When clicking the refresh button in the JFrog pane, the plugin starts doing something, i.e. it logs "Found npm project: c:......" and the status bar says "Xray: Scanning for vulnerabilities..." After about 5 minutes, the status bar is empty again but nothing else happens, no log entry etc. Jfrog pane just says "Nothing to show".
Three more notes:
To Reproduce
Use the attached package.json package.json.zip and scan it
Expected behavior
Scan results
Versions
The text was updated successfully, but these errors were encountered: