Upgrading to [email protected] shows error in package.json when running project #1229
-
I created a bug for this #1228... but I thought it could be useful to open a discussion here on this issue. When upgrading to 0.24.0, nexus breaks the project with a 'malformed' package.json file. The error in the console looks like this:
The package.json dependencies look good to me as well:
any ideas what is causing this error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I closed the issue #1228 and there I explain what I did to resolve it. |
Beta Was this translation helpful? Give feedback.
-
Hey @chrisjaimes, the reason for this error is that we added package.json validation. Here, given you package.json above, it was telling you that a |
Beta Was this translation helpful? Give feedback.
Hey @chrisjaimes, the reason for this error is that we added package.json validation. Here, given you package.json above, it was telling you that a
version
field in your package.json was missing. The error could indeed be better. Glad you were able to fix it 🙏