Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Allow react-scripts v4 without npm warning #124

Open
nbgraham opened this issue Feb 2, 2021 · 0 comments
Open

Allow react-scripts v4 without npm warning #124

nbgraham opened this issue Feb 2, 2021 · 0 comments

Comments

@nbgraham
Copy link

nbgraham commented Feb 2, 2021

npm WARN @rescripts/utilities@0.0.7 requires a peer of react-scripts@2 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN @rescripts/utilities@0.0.7 requires a peer of react-scripts@2 - 3 but none is installed. You must install peer dependencies yourself.
$ npm ls @rescripts/utilities
+-- @rescripts/cli@0.0.15
| `-- @rescripts/utilities@0.0.8
+-- @rescripts/rescript-use-babel-config@0.0.10
| `-- @rescripts/utilities@0.0.7
`-- @rescripts/rescript-use-eslint-config@0.0.11
  `-- @rescripts/utilities@0.0.7

I believe the code is already in place, but just not released.
The use-babel-config package.json already specifies "@rescripts/utilities": ^0.0.8 but itself is version 0.0.11, which doesn't exist on npm
The use-eslint-config package.json already specifies "@rescripts/utilities": ^0.0.8 but itself is version 0.0.12, which doesn't exist on npm

I would have thought this would already work, because of the ^, but apparently ^0.0.7 does not include 0.0.8
image
However, ~0.0.7 does include 0.0.8
https://semver.npmjs.com/

Related Issues:
#49

Related PRs:
#117
#83
#73

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

1 participant