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

Netlify treats warning as errors and will fail to compile. #5

Closed
HexxKing opened this issue May 7, 2022 · 0 comments
Closed

Netlify treats warning as errors and will fail to compile. #5

HexxKing opened this issue May 7, 2022 · 0 comments

Comments

@HexxKing
Copy link

HexxKing commented May 7, 2022

We encountered a Bootstrap depreciation error that needs to be updated in the Bootstrap source code.

autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.

I learned that this error is being thrown by Bootstrap.

This particular error could have been handled two ways:

  1. Prevent Netlify from treating warnings as errors by updating the build command in Netlify to read CI= npm run build
  2. npm install [email protected] --save-exact

This is a known issue and Bootstrap says that it should be fixed by next week.

I am just suggesting that we add the updated build command to our docs somewhere in case we encounter another bug that is related to a dependency like this one is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants