question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`npm ci` returns many warnings and errors - is this a problem (on my environment)?

See original GitHub issue

Your Question

On my environment (MacBook Air late 2020, latest macOS) carrying out the following steps:

  1. npm version
  2. Returns:
{
  'corona-warn-app-landingpage': '1.1.0',
  npm: '8.5.5',
  node: '16.15.0',
  v8: '9.4.146.24-node.20',
  uv: '1.43.0',
  zlib: '1.2.11',
  brotli: '1.0.9',
  ares: '1.18.1',
  modules: '93',
  nghttp2: '1.47.0',
  napi: '8',
  llhttp: '6.0.4',
  openssl: '1.1.1n+quic',
  cldr: '40.0',
  icu: '70.1',
  tz: '2021a3',
  unicode: '14.0',
  ngtcp2: '0.1.0-DEV',
  nghttp3: '0.1.0-DEV'
}
  1. npm ci
  2. Returns: See https://github.com/corona-warn-app/cwa-website/issues/2894#issuecomment-1125996482 (posted in a separate comment due to GitHubs character limit for comments)

Is this a a) general problem b) only a problem on my environment c) problem that should be fixed

I do not see anything being influenced by these warnings/errors using npm to build & test the website.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Ein-Timcommented, May 18, 2022

Little update: After cleaning some files up, updating my Mac to the latest macOS version and rerunning npm ci everything works as intended.

0reactions
Ein-Timcommented, May 13, 2022

@MikeMcC399 Thanks. I remember that I performed some cleanup tasks on my MacBook last week. Maybe this broke something.

I’m closing this issue, trying to fix it by myself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common errors | npm Docs
It's most likely a temporary npm registry glitch. Check npm server status and try again later. If the error persists, perhaps the published...
Read more >
Treating warnings as errors because process.env.CI = true ...
When tried to integrate my application with Travis Ci, i got error as follows. It says like i have to change some env...
Read more >
[Solved] “Treating warnings as errors because of process.env ...
Did deploying your code to netlify failed and in logs you are getting. Treating warnings as errors because of process.env.CI = true
Read more >
treating warnings as errors because process.env.ci = true.
CI =false npm run build. Now, rebuild your deployment. Should be no problem anymore. Open side panel. Jenkins build fails with "Treating warnings...
Read more >
New CI=true build configuration, "Treating warnings as errors ...
This setting allows many common libraries to detect a CI environment and change behavior accordingly. One such behavior is the disabling of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found