Skip to content

NPM install fails due to outdated dependencies - Resolved, proposal for update #2

@BearCooder

Description

@BearCooder

Hey,

I just went through the tutorial and its great! I had a problem with installing the dependencies, due to beeing old and outdated.
After hitting npm i it freezes at this point:
grafik

So I canceled and updated the package json file to:

{
  "name": "conseiljs-tutorial",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "bignumber.js": "^9.1.0",
    "conseiljs": "^5.2.3",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-scripts": "5.0.1",
    "styled-components": "^5.3.6"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "devDependencies": {
    "eslint": "8.24.0",
    "eslint-config-airbnb": "^19.0.4",
    "eslint-config-prettier": "^8.5.0",
    "eslint-formatter-pretty": "^4.1.0",
    "eslint-plugin-compat": "^4.0.2",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jsx-a11y": "^6.6.1",
    "eslint-plugin-promise": "^6.0.1",
    "eslint-plugin-react": "^7.31.8",
    "eslint-plugin-testcafe": "^0.2.1"
  }
}

And after that I tried to install again and it worked, I tried to run it and it worked without issues.

So would be great to get the dependencies updated and maybe maintain the tutorial as its really great work and a great resource :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions