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

RuntimeError: failed to build frontend bundles #188

Open
jasonhuhx opened this issue Feb 7, 2023 · 0 comments
Open

RuntimeError: failed to build frontend bundles #188

jasonhuhx opened this issue Feb 7, 2023 · 0 comments

Comments

@jasonhuhx
Copy link
Contributor

jasonhuhx commented Feb 7, 2023

I ran into the following error when building pip install .

       > node_modules/styled-components/dist/styled-components.browser.esm.js:1:62: error: Could not resolve "react-is" (mark it as external to exclude it from the bundle)
          1 │ ...isValidElementType as n}from"react-is";import r,{useState as o,use...
            ╵                                ~~~~~~~~~~

I was able to resolve it by adding react-is to frontend/package.json

I can create a PR if someone can confirm this is the correct fix.

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

1 participant