-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Bug: Module not found: Can't resolve '@emotion/react' #259
Comments
Can you show some info? Are you installing it as |
Thanks for the quick response. Installing using yarn v1.22.19, using the Additional info: We have tried deleting yarn.lock, as well as deleting our modules folder |
Can you share the entire |
Sure thing, here is our dependencies:
|
I did a yarn install with that and got no issue. This is what I found installed: voyager@1.0.0 /Users/stefano/_TEST/voyager
├── @aws-amplify/ui-react@2.20.0
├── @aws-amplify/ui@3.14.0
├── @babel/cli@7.21.0
├── @babel/core@7.21.3
├── @babel/plugin-transform-modules-commonjs@7.21.2
├── @graphiql/plugin-explorer@0.1.14
├── @graphiql/react@0.17.0
├── @graphql-tools/graphql-file-loader@7.5.16
├── @graphql-tools/load@7.8.13
├── aws-amplify@4.3.46
├── concurrently@5.3.0
├── graphiql-explorer@0.6.3
├── graphiql@2.4.0
├── graphql-voyager@1.0.0
├── graphql-ws@5.12.0
├── graphql@15.8.0
├── lodash.startcase@4.4.0
├── nodemon@2.0.21
├── prop-types@15.8.1
├── react-dom@17.0.2
├── react-icons@4.8.0
├── react-markdown@5.0.3
├── react-scripts@4.0.3
├── react-syntax-highlighter@15.5.0
├── react@17.0.2
└── rimraf@3.0.2 |
Thanks again for your help. Which version of yarn are you using? |
1.22.19 Are you using a third party repository? |
I did forget to mention, my apologies, we are using a monorepo with a yarn workspace set up, but I didn't think that should affect anything. You were able to compile successfully and run the app with the listed dependencies? Not sure if relevant, but we start our app with this command Thanks again, sounds like this might be specifically a problem on our end, but it is curious that it worked with rc31 and not the new v1. I'm happy to close out this issue if it's specifically our problem :) |
Another note, if we manually add the @emotion/~~~ dependencies, the next error we get is the following:
|
@gr-myles I did not compile anything. I took your dependencies, as you provided, put them in a brand new |
@gr-myles You are right package is broken. @LunaticMuch Thanks for helping with the investigation. I think I know what's broken. |
@gr-myles Published |
Hello,
With the recent release of 1.0.0, we are getting missing dependency errors with Voyager. These errors do not show up on rc31.
Module not found: Can't resolve '@emotion/react'
If we manually add it, then it errors on '@emotion/react', etc, etc.
The text was updated successfully, but these errors were encountered: