MetaCell / MetaCell/geppetto-meta

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

Open
#440 1 comment 0 reactions 1 assignee View on GitHub

@enicolasgomez is already working on this.

Since Dec 9, 2022.

  • #451 by @ddelpiano — merged
bug
Dominant language
JavaScript
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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 ()

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

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 ()
at run.next ()
at transform.next ()

```
which I couldn't fix in a speedily way

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.