Skip to content

package lock removed. Due to mismatch in jest versions#1

Open
kchetan92 wants to merge 2 commits into
0xairdropfarmer:masterfrom
kchetan92:master
Open

package lock removed. Due to mismatch in jest versions#1
kchetan92 wants to merge 2 commits into
0xairdropfarmer:masterfrom
kchetan92:master

Conversation

@kchetan92

Copy link
Copy Markdown

When I tried to run the application, I got the following error:

The react-scripts package provided by Create React App requires a dependency:

...
"jest": "24.8.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of jest was detected higher up in the tree:

/usr/local/lib/node_modules/jest (version: 24.9.0)
...

Fixed by deleting the package-lock.json. Does the fix make sense?

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

Successfully merging this pull request may close these issues.

1 participant