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

React redux application doesn't start due to dev dependencies issues #440

Open
afonsobspinto opened this issue Dec 9, 2022 · 1 comment · Fixed by #451
Open

React redux application doesn't start due to dev dependencies issues #440

afonsobspinto opened this issue Dec 9, 2022 · 1 comment · Fixed by #451
Assignees
Labels
bug Something isn't working

Comments

@afonsobspinto
Copy link
Member

I got a couple of dependency issues when trying to run the example react redux application:

Uncaught Error: Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '@babel/plugin-syntax-dynamic-import' from '/home/afonso/Projects/MetaCell/geppetto-meta/examples/redux-react-app'

Uncaught Error: Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '@babel/plugin-proposal-class-properties' from '/home/afonso/Projects/MetaCell/geppetto-meta/examples/redux-react-app'

./src/index.js
Error: Cannot find module '@babel/plugin-transform-runtime' from '/home/afonso/Projects/MetaCell/geppetto-meta/examples/redux-react-app'
    at Array.map (<anonymous>)

    ./src/index.js
Error: Cannot find module '@babel/preset-env' from '/home/afonso/Projects/MetaCell/geppetto-meta/examples/redux-react-app'
    at Array.map (<anonymous>)

I was adding the missed dependencies one by one but ended up with a new error:

./src/index.js
Error: /home/afonso/Projects/MetaCell/geppetto-meta/examples/redux-react-app/src/index.js: 'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled).
    at transformFile.next (<anonymous>)
    at run.next (<anonymous>)
    at transform.next (<anonymous>)

which I couldn't fix in a speedily way

@afonsobspinto afonsobspinto added the bug Something isn't working label Dec 9, 2022
@afonsobspinto
Copy link
Member Author

Potentially related with babel/babel#11622

ddelpiano added a commit that referenced this issue Dec 13, 2022
@ddelpiano ddelpiano linked a pull request Dec 13, 2022 that will close this issue
ddelpiano added a commit that referenced this issue Dec 14, 2022
ddelpiano added a commit that referenced this issue Dec 16, 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

Successfully merging a pull request may close this issue.

2 participants