Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

multiple npm WARN for peer dependencies and deprecated browserslist #427

Open
Luxcium opened this issue Oct 17, 2018 · 2 comments
Open

multiple npm WARN for peer dependencies and deprecated browserslist #427

Luxcium opened this issue Oct 17, 2018 · 2 comments

Comments

@Luxcium
Copy link

Luxcium commented Oct 17, 2018

Is this a bug report?

Yes

npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN fork-ts-checker-webpack-plugin@0.2.10 requires a peer of typescript@^2.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN ts-jest@22.0.1 requires a peer of jest@^22.0.1 || ^22.1.0-alpha.1 || ^23.0.0-alpha.1 but none is installed. You must install peer dependencies yourself.
npm WARN ts-jest@22.0.1 requires a peer of typescript@2.x but none is installed. You must install peer dependencies yourself.
npm WARN extract-text-webpack-plugin@3.0.2 requires a peer of webpack@^3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN sw-precache-webpack-plugin@0.11.4 requires a peer of webpack@^1 || ^2 || ^2.1.0-beta || ^2.2.0-beta || ^3 but none is installed. You must install peer dependencies yourself.

  • react-scripts-ts@3.1.0

Environment

  1. npm ls react-scripts-ts (if you haven’t ejected):
    └── react-scripts-ts@3.1.0
  2. node -v: v10.12.0
  3. npm -v: 6.4.1
  4. yarn --version (if you use Yarn):

Steps to Reproduce

  1. npm un react-scripts-ts
    show one probleme is else where and unrelated :
    npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.

fixing this issue will then prompt something that is leading to a circular problème (unrelated to this issue) :

npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.

  1. npm i react-scripts-ts
    show all other problems back ...

npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.

plus :

npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN fork-ts-checker-webpack-plugin@0.2.10 requires a peer of typescript@^2.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN ts-jest@22.0.1 requires a peer of jest@^22.0.1 || ^22.1.0-alpha.1 || ^23.0.0-alpha.1 but none is installed. You must install peer dependencies yourself.
npm WARN ts-jest@22.0.1 requires a peer of typescript@2.x but none is installed. You must install peer dependencies yourself.
npm WARN extract-text-webpack-plugin@3.0.2 requires a peer of webpack@^3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN sw-precache-webpack-plugin@0.11.4 requires a peer of webpack@^1 || ^2 || ^2.1.0-beta || ^2.2.0-beta || ^3 but none is installed. You must install peer dependencies yourself.

package.json :

"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/generator": "^7.1.3",
"@babel/parser": "^7.1.3",
"@babel/plugin-transform-arrow-functions": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/autoprefixer": "^6.7.3",
"@types/babel-core": "^6.25.5",
"@types/bcryptjs": "^2.4.2",
"@types/body-parser": "^1.17.0",
"@types/bootstrap": "^4.1.2",
"@types/clean-webpack-plugin": "^0.1.2",
"@types/config": "0.0.34",
"@types/cookie-parser": "^1.4.1",
"@types/csv-parse": "^1.1.11",
"@types/csv-stringify": "^1.4.2",
"@types/eslint": "^4.16.3",
"@types/eslint-plugin-prettier": "^2.2.0",
"@types/express": "^4.16.0",
"@types/gravatar": "^1.4.28",
"@types/html-minifier": "^3.5.2",
"@types/html-webpack-plugin": "^3.2.0",
"@types/joi": "^13.6.0",
"@types/jquery": "^3.3.10",
"@types/js-beautify": "^1.8.0",
"@types/jsonwebtoken": "^7.2.8",
"@types/lodash": "^4.14.116",
"@types/material-ui": "^0.21.5",
"@types/materialize-css": "^1.0.4",
"@types/mini-css-extract-plugin": "^0.2.0",
"@types/mongodb": "^3.1.9",
"@types/mongoose": "^5.2.19",
"@types/node": "^10.12.0",
"@types/optimize-css-assets-webpack-plugin": "^1.3.3",
"@types/package-json": "^4.0.1",
"@types/passport": "^0.4.6",
"@types/passport-google-oauth": "^1.0.39",
"@types/passport-jwt": "^3.0.1",
"@types/passport-strategy": "^0.2.35",
"@types/prettier": "^1.13.2",
"@types/react": "^16.4.17",
"@types/react-dom": "^16.0.9",
"@types/react-router-dom": "^4.3.1",
"@types/request": "^2.47.1",
"@types/uglify-js": "^3.0.3",
"@types/uglifyjs-webpack-plugin": "^1.1.0",
"@types/utf8": "^2.1.6",
"@types/webpack": "^4.4.17",
"@types/webpack-dev-server": "^3.1.1",
"autoprefixer": "^9.1.5",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.4",
"babel-preset-env": "^1.7.0",
"babel-preset-minify": "^0.5.0",
"babel-preset-react": "^6.24.1",
"clean-webpack-plugin": "^0.1.19",
"create-react-app": "^2.0.4",
"css-loader": "^1.0.0",
"cssnano": "^4.1.0",
"eslint": "^5.6.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"file-loader": "^2.0.0",
"fork-ts-checker-webpack-plugin": "^0.4.10",
"html-beautify-webpack-plugin": "^1.0.5",
"html-loader": "^0.5.5",
"html-minifier": "^3.5.20",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.6.0",
"js-beautify": "^1.8.6",
"mini-css-extract-plugin": "^0.4.3",
"mocha": "^5.2.0",
"nodemon": "^1.18.4",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"parsley": "^0.1.0",
"path": "^0.12.7",
"postcss-loader": "^3.0.0",
"precss": "^3.1.2",
"prettier": "^1.14.3",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.0",
"ts-jest": "^23.10.4",
"ts-loader": "^5.1.1",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"typescript": "^3.1.3",
"typescript-eslint-parser": "^20.0.0",
"uglify-js": "^3.4.9",
"uglifyjs-webpack-plugin": "^2.0.1",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.4.0",
"webpack-dev-server": "^3.1.9"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.3.1",
"@fortawesome/fontawesome-svg-core": "^1.2.4",
"@fortawesome/free-solid-svg-icons": "^5.3.1",
"@fortawesome/react-fontawesome": "^0.1.3",
"@material-ui/core": "^3.2.0",
"@material-ui/icons": "^3.0.1",
"@types/jest": "^23.3.5",
"ajv": "^6.5.4",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.3",
"bootstrap": "^4.1.3",
"classname": "0.0.0",
"config": "^2.0.1",
"cookie-parser": "^1.4.3",
"csv": "^4.0.0",
"d3": "^5.7.0",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"gravatar": "^1.6.0",
"joi": "^13.6.0",
"jquery": "^3.3.1",
"jsonwebtoken": "^8.3.0",
"lodash": "^4.17.11",
"materialize-css": "^1.0.0-rc.2",
"mongodb": "^3.1.6",
"mongoose": "^5.3.0",
"passport": "^0.4.0",
"passport-google-oauth20": "^1.0.0",
"passport-hmac": "^1.0.4",
"passport-jwt": "^4.0.0",
"passport-strategy": "^1.0.0",
"popper.js": "^1.14.4",
"puppeteer": "^1.9.0",
"qs": "^6.5.2",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-router-dom": "^4.3.1",
"react-scripts": "^2.0.5",
"react-scripts-ts": "^3.1.0",
"request": "^2.88.0",
"throng": "^4.0.0",
"tooltip.js": "^1.3.0",
"utf8": "^3.0.0"
}

@Luxcium
Copy link
Author

Luxcium commented Oct 17, 2018

capture d ecran le 2018-10-17 a 02 11 40

@riyunoa
Copy link

riyunoa commented Oct 23, 2018

I have the same error after upgrading to react-scripts-ts 3.1.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants