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

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

Open
BearCooder opened this issue Sep 30, 2022 · 0 comments

Comments

@BearCooder
Copy link

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 :)

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