Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'push') #1301

Open
CrispenGari opened this issue Jan 28, 2024 · 1 comment · May be fixed by #1331
Open

Cannot read properties of undefined (reading 'push') #1301

CrispenGari opened this issue Jan 28, 2024 · 1 comment · May be fixed by #1331

Comments

@CrispenGari
Copy link

When i try to run the following command:

yarn changeset version

I'm getting the following giant error

The following error was encountered while generating changelog entries
We have escaped applying the changesets, and no files should have been affected
🦋  error TypeError: Cannot read properties of undefined (reading 'push')
🦋  error     

Here is the version of changesets/cli i'm using:

{
"@changesets/cli": "^2.27.1",
}

I'm running node version: v18.17.1

What is the issue here?

@unional
Copy link

unional commented Mar 22, 2024

For me, I encounter this as I accidentally edit the changeset and use feat the type.

---
"pkg": feat // <-- should be minor
---

...

@unional unional linked a pull request Mar 22, 2024 that will close this issue
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 a pull request may close this issue.

2 participants