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

CI Failing Due to ECONNRESET #71

Open
AdrianRomanski opened this issue Jan 8, 2025 · 0 comments
Open

CI Failing Due to ECONNRESET #71

AdrianRomanski opened this issue Jan 8, 2025 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@AdrianRomanski
Copy link

What happened?

The CI is throwing an error related to the JS packages plugin. It appears that there's an issue with fetching the package from the npm registry.

Error: JS packages plugin: outdated error: npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/@types%2fnode: aborted
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.

What would you expect to happen?

The CI should pass without any errors.
JS packages plugin should successfully fetch packages without network issues.

What steps did you take?

Trigger the CI pipeline

Code PushUp package version

No response

What operation system are you on?

MacOS

Node version

No response

Relevant log output

Vitest  "cache.dir" is deprecated, use Vite's "cacheDir" instead if you want to change the cache director. Note caches will be written to "cacheDir/vitest"

Error: Executing 1 plugin failed.

Error: - Plugin JS Packages (js-packages) produced the following error:
  - file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/js-packages-plugin/bin.js:1705
    throw new Error(JS packages plugin: outdated error: ${stderr});
          ^

Error: JS packages plugin: outdated error: npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/@types%2fnode: aborted
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in: /home/runner/.npm/_logs/2025-01-08T07_47_09_943Z-debug-0.log

    at processOutdated (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/js-packages-plugin/bin.js:1705:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async executeRunner (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/js-packages-plugin/bin.js:1690:57)
    at async file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/js-packages-plugin/bin.js:1764:1

Node.js v20.11.0



    at executePlugins (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/cli/index.js:2707:11)
    at async collect (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/cli/index.js:2737:25)
    at async collectAndPersistReports (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/cli/index.js:2808:18)
    at async handler (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/cli/index.js:3408:7)
    at async Object.handler (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/cli/index.js:3619:14)
Error: Executing 1 plugin failed.

Error: - Plugin JS Packages (js-packages) produced the following error:
  - file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/js-packages-plugin/bin.js:1705
    throw new Error(JS packages plugin: outdated error: ${stderr});
          ^

Error: JS packages plugin: outdated error: npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/@types%2fnode: aborted
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In m
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run Code PushUp action
@AdrianRomanski AdrianRomanski added the 🐛 bug Something isn't working label Jan 8, 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