Closed fcrwx closed 2 years ago
Thanks for reporting it. We will take a look at this problem.
In case someone has met the same error, I have configured the process.env.CI to false, in order to let pipeline run further, even if it meets some warning. This is working with Github deployment now
env:
CI: false
react-scripts uses postcss which warns about using the CSS property 'transition-property' instead of 'transition'. When building in a CI environment react-scripts treats warnings as errors so this CSS property results in a failed build.
The following files use this property:
Steps to reproduce:
create-react-app
application:npx create-react-app mdb-test --template typescript
mdb-react-ui-kit
(in the created app directory):npm install mdb-react-ui-kit@latest
mdb.min.css
insrc/index.tsx
:import 'mdb-react-ui-kit/dist/css/mdb.min.css'
CI=true ./node_modules/.bin/react-scripts build