Arman Ebrahimi
Arman Ebrahimi

Reputation: 2317

I get an error when I do 'yarn start'(Required package: @babel/plugin-proposal-private-property-in-object)

I get an error when I do yarn start. I search that in the other relevant questions of the stack, but I did not find the solution to my problem. I thinks dependencies of my package.json is correct.

This is my error:

enter image description here

Edit:

I get this error after of run:

yarn add @babel/plugin-proposal-private-property-in-object --dev && yarn

enter image description here

Upvotes: 1

Views: 7659

Answers (1)

Rodrigo Merlone
Rodrigo Merlone

Reputation: 397

As stated by the error message, it appears yarn was expecting this package as a dependency. So the problem may be solved by installing it with:

yarn add @babel/plugin-proposal-private-property-in-object --dev && yarn

Upvotes: 3

Related Questions