Skip to content

Can't get ergogen-gui to start - eslint errors #11

@drelephant

Description

@drelephant

Disclaimer: I have no idea what I'm doing with react/nodejs/whatever else this uses...

Running on Ubuntu 20.04.6 LTS.

Following the instructions from https://github.com/MvEerd/ergogen-gui :

git clone https://github.com/MvEerd/ergogen-gui.git
cd ergogen-gui/
yarn install && yarn start

And I get this error:

Compiled with warnings.

src/Ergogen.tsx
  Line 13:8:   'Tabs' is defined but never used                                                                                  @typescript-eslint/no-unused-vars
  Line 101:8:  React Hook useEffect has a missing dependency: 'configContext'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

src/context/ConfigContext.tsx
  Line 114:8:  React Hook useEffect has missing dependencies: 'autoGen' and 'autoGen3D'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

src/molecules/ConfigEditor.tsx
  Line 24:8:  React Hook useEffect has missing dependencies: 'configInput' and 'handleChange'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

I also tried editing the line in package.json to "ergogen": "mveerd/ergogen#mveerd",, but got the same warnings.

How do I get it to ignore the warnings and run properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions