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

Attempted import error: 'Alert' is not exported from 'reactstrap'. #412

Open
nathanBrenner opened this issue Nov 17, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@nathanBrenner
Copy link

nathanBrenner commented Nov 17, 2022

> react-scripts build02:39
Creating an optimized production build...02:42
Failed to compile.03:44
./node_modules/@ginkgo-bioworks/react-json-schema-form-builder/dist/index.modern.mjs03:44
Attempted import error: 'Alert' is not exported from 'reactstrap'.
....
npm ERR! code ELIFECYCLE03:44
npm ERR! errno 103:44
npm ERR! [repo name]@0.1.0 build: `react-scripts build`03:44
npm ERR! Exit status 1

This is the output from cicd. Node@12, this package as a dependency@^2.7.1, bootstrap@^5.1.3, react@^16.4.1

The script that triggers this error is react-scripts build, which is defined from create-react-app

I also tried updating this package to 2.10.1, bootstrap to 5.2.2, and node to 14. In every step of those changes, the error message was the same. I can also run react-scripts build locally, and I get the same error message. Maybe this is a bug from reactstrap? Looks like Alert is being exported from reactstrap: https://github.com/reactstrap/reactstrap/blob/master/src/index.js#L82

@raymond-lam raymond-lam added the bug Something isn't working label Nov 17, 2022
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

2 participants