Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Running yarn throws incorrect peer dependency #5

Closed
dingo-d opened this issue Mar 24, 2018 · 1 comment
Closed

Running yarn throws incorrect peer dependency #5

dingo-d opened this issue Mar 24, 2018 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@dingo-d
Copy link
Contributor

dingo-d commented Mar 24, 2018

When I installed packages in my package.json I got

emotion-normalize@7.0.1" has incorrect peer dependency "emotion@^8.0.8"

Not sure why this is thrown, the peer dependency is greater than 8.0.8, and I have put emotion 9.0.2.

package.json looks like:

{
  "name": "test",
  "description": "This is a test",
  "author": "Denis Zoljom",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject",
    "storybook": "start-storybook -p 6006 -s ./",
    "build-storybook": "build-storybook"
  },
  "dependencies": {
    "@types/prop-types": "^15.5.2",
    "@types/react-dom": "^16.0.4",
    "@types/storybook__addon-actions": "^3.0.1",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.2",
    "babel-plugin-emotion": "^9.0.1",
    "babel-preset-es2015": "^6.1.18",
    "babel-preset-react": "^6.1.18",
    "emotion": "^9.0.2",
    "emotion-normalize": "^7.0.1",
    "isomorphic-fetch": "^2.2.1",
    "prop-types": "^15.6.0",
    "react": "^16.2.0",
    "react-dom": "^16.2.0",
    "react-emotion": "^9.0.2",
    "react-scripts": "1.1.1"
  },
  "devDependencies": {
    "@infinumjs/eslint-config-react": "^1.0.0",
    "@infinumjs/tslint-config": "^1.1.1",
    "@storybook/addons": "^3.3.0",
    "@storybook/addon-actions": "^3.3.9",
    "@storybook/addon-knobs": "^3.3.12",
    "@storybook/addon-links": "^3.3.9",
    "@storybook/addon-viewport": "^3.3.12",
    "@storybook/react": "^3.3.9",
    "@types/react": "^16.0.40",
    "@types/storybook__react": "^3.0.6",
    "babel-eslint": "^8.2.1",
    "eslint": "^4.16.0",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-react": "^7.6.1",
    "ts-loader": "^3.5.0",
    "tslint": "^5.9.1",
    "typescript": "^2.7.1",
    "webpack": "^3.10.0"
  },
  "engines": {
    "node": ">=8.6.0"
  }
}

Should we update the peer dependency in the project's package.json?

@dingo-d dingo-d added the help wanted Extra attention is needed label Mar 24, 2018
@isBatak
Copy link
Contributor

isBatak commented Oct 10, 2018

Update emotion-normalize to version 8.0.0

@isBatak isBatak closed this as completed Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants