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.

Issue Description

When setting the CI flag to true, webpack treats warnings as errors. So even if we set suppressConflictError to true, it still reports a warning, which is then treated as an error. I see a couple options:

  1. allow a “overwriteExistingArtifcats” flag, or similar
  2. Do not warn or error on the conflict error if the suppressConflictError flag is set to true

Any thoughts?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
rhys-vdwcommented, Oct 13, 2017

Check out facebookincubator/create-react-app#1150

0reactions
kjanoudicommented, Dec 5, 2017

i removed this from my scripts/build.js

if (
        process.env.CI &&
        (typeof process.env.CI !== 'string' ||
          process.env.CI.toLowerCase() !== 'false') &&
        messages.warnings.length
      ) {
        console.log(
          chalk.yellow(
            '\nTreating warnings as errors because process.env.CI = true.\n' +
              'Most CI servers set it automatically.\n'
          )
        );
        return reject(new Error(messages.warnings.join('\n\n')));
      }

@Grsmto

Read more comments on GitHub >

github_iconTop Results From Across the Web

409 Conflict - HTTP - MDN Web Docs
The HTTP 409 Conflict response status code indicates a request conflict with the current state of the target resource.
Read more >
How To Fix the “409 Conflict” Error (5 Methods) - Kinsta
If you see a “409 Conflict” error, this is a 400 HTTP status code. In short, the request wasn't completed because of a...
Read more >
409 Conflict - HTTP Status Code Glossary - WebFX
What Is a 409 Status Code? ... The request could not be completed due to a conflict with the current state of the...
Read more >
Reasons for a 409/Conflict HTTP error when uploading a file ...
At times the error code 409 occurs when you name you folder or files a reserved or blocked name.
Read more >
409 CONFLICT HTTP Status Code
409 CONFLICT ... The request could not be completed due to a conflict with the current state of the target resource. This code...
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