Comments (7)
Just chiming in that we have had this happen multiple times in different projects and different environments/OSs, so it's definitely a thing. Always gets fixed by rerunning the task so retry mechanism would indeed be a great addition, especially if it just checks if the error is the one mentioned above ("does not support" & "npmjs.org") -> try again.
from audit-ci.
Released in v1.7.0
from audit-ci.
This is very strange indeed! I don't think I have encountered this personally within the audit-ci
project's own audits. Can you check npm --version
in CircleCI? Perhaps you can run npm i -g npm
in CircleCI, fixing some NPM bug?
from audit-ci.
npm --version
gives 6.4.1
which is indeed pretty old. I will update npm
and will see if it solves the problem.
Thank you for your input. I will come back to tell if it solved the problem or not.
from audit-ci.
Hi again,
You are not alone on this issue. It has now happened on this project as well and seems to be an issue for others. Note that it is independent of CircleCI as it happened for both of our CircleCI and Travis-CI builds.
At this time, it seems as if the only options for now would be a retry mechanism.
from audit-ci.
Thank you for the information 😄 Well, it is a good news in a way: it seems that NPM is aware of the issue and working on it.
from audit-ci.
Hi.
In my opinion, it would be great to integrate a retry mechanism into audit-ci. What do you think about it?
from audit-ci.
Related Issues (20)
- No results for yarn (berry) monorepo HOT 5
- Drop support for Node <12 HOT 1
- Long summary output for only one vulnerable advisory HOT 6
- Cannot convert undefined or null to object Exiting HOT 9
- Support allowlisting private packages by module HOT 7
- Recommend pinning to commit SHA or release tag HOT 3
- Add expiration time for allow list items HOT 1
- Allow notes for allowlist items HOT 2
- [Feature] Support Gitlab SAST report-type HOT 2
- Let the severity level influence the json output HOT 1
- Fail on unmatched ignores HOT 1
- Invalid JSON config file when using new allowlist NSPRecord syntax HOT 3
- Add support for registry flag for PNPM HOT 1
- Support Yarn's `--exclude` HOT 2
- Handle errors from Yarn Berry more gracefully HOT 2
- Tests should include all major Yarn versions HOT 2
- packages starting with "@" are not working in allowlist HOT 2
- Replace event-stream with something secure and supported HOT 4
- The audit report format changed? HOT 2
- CI commands fail because no version 7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audit-ci.