age-viewer icon indicating copy to clipboard operation
age-viewer copied to clipboard

Installation error at 'npm run start'

Open I33Buckler opened this issue 1 year ago • 1 comments

Describe the bug Have obtained the age-viewer from the repository. Running 'npm run start' results in the following message

Failed to compile.

src/components/contents/presentations/Editor.jsx
  Line 163:15:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 169:15:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 177:15:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 196:15:  A control must be associated with a text label  jsx-a11y/control-has-associated-label

src/components/cytoscape/CypherResultCytoscapeFooter.jsx
  Line 93:11:   A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 166:11:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 182:11:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 207:13:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 222:13:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 292:11:  A control must be associated with a text label  jsx-a11y/control-has-associated-label

src/components/cytoscape/CypherResultCytoscapeLegend.jsx
  Line 180:11:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 195:11:  A control must be associated with a text label  jsx-a11y/control-has-associated-label

src/components/sidebar/presentations/SidebarHome.jsx
  Line 429:13:  A control must be associated with a text label  jsx-a11y/control-has-associated-label
  Line 446:13:  A control must be associated with a text label  jsx-a11y/control-has-associated-label

Search for the keywords to learn more about each error.

To Reproduce Steps to reproduce the behavior:

  1. downloaded the git repo
  2. executed 'npm run setup'
  3. executed 'npm run start'

Expected behavior Launch application to configure connection to database.

Desktop (please complete the following information):

  • Debian GNU/Linux trixie/sid
  • Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz

I33Buckler avatar Nov 13 '23 20:11 I33Buckler

There were linting errors in your JSX files related to accessibility using the jsx-a11y/control-has-associated-label rule. This rule ensures that form elements have an associated label for better accessibility.

This error is solved
https://github.com/apache/age-viewer/pull/165

KamleshKumar427 avatar Nov 16 '23 17:11 KamleshKumar427