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

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

Open
drelephant opened this issue Feb 19, 2024 · 0 comments
Open

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

drelephant opened this issue Feb 19, 2024 · 0 comments

Comments

@drelephant
Copy link

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?

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