Skip to content

Cannot read properties of null (reading 'length') #469

@h3rmanj

Description

@h3rmanj

After updating to v1.5.0 and trying commitMode: github-api, I get this output:

Run changesets/action@746c25e23caa47dceb6a48ee85b4cbc5a9f5f293
  with:
    publish: npm run release
    commit: chore: version packages
    commitMode: github-api
    setupGitUser: true
    createGithubReleases: true
  env:
    NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
    NODE_AUTH_TOKEN: ***
    GITHUB_TOKEN: ***
setting git user
setting GitHub credentials
/opt/hostedtoolcache/node/22.15.0/x64/bin/node /home/runner/work/***/***/node_modules/@changesets/cli/bin.js version
🦋  All files have been updated. Review them and commit at your leisure
Error: TypeError: Cannot read properties of null (reading 'length')
Error: Cannot read properties of null (reading 'length')

Unsure which .length call is throwing, as I found some different ones when searching for .length.

Not sure if this is related could be triggered by #391, any ideas @s0?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions