C2DH / journal-of-digital-history

frontend app for our Digital Journal
GNU General Public License v3.0
20 stars 4 forks source link

Feature/cfp submission #461

Closed danieleguido closed 2 years ago

eliselavy commented 2 years ago

Problem to navigate in the website:


index.js:1 src/components/Module/Streamgraph.js
  Line 1:1:  Definition for rule 'react-hooks/rules-of-hooks' was not found  react-hooks/rules-of-hooks

Search for the keywords to learn more about each error.
VM79:2 Uncaught ReferenceError: process is not defined
    at 4043 (<anonymous>:2:13168)
    at r (<anonymous>:2:306599)
    at 8048 (<anonymous>:2:9496)
    at r (<anonymous>:2:306599)
    at 8641 (<anonymous>:2:1379)
    at r (<anonymous>:2:306599)
    at <anonymous>:2:315627
    at <anonymous>:2:324225
    at <anonymous>:2:324229
    at e.onload (index.js:1:1)
Screenshot 2022-08-18 at 14 35 20
eliselavy commented 2 years ago

In dev:

  "devDependencies": {
    "eslint": "^7.30.0",
    "eslint-plugin-react": "^7.24.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "http-proxy-middleware": "^1.0.6"
  }

eslint-plugin-react-hooks is integrated

But in this branch:

  "devDependencies": {
    "eslint": "^8.19.0",
    "http-proxy-middleware": "^1.0.6",
    "prettier": "^2.7.1"
  }
eliselavy commented 2 years ago

Still don't work by adding the following reference in this branch:

  "devDependencies": {
    "eslint": "^7.30.0",
    "eslint-plugin-react": "^7.24.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "http-proxy-middleware": "^1.0.6"
  }