Cannot read properties of null (reading 'prerelease')
See original GitHub issueAffected Packages
standard-log
Problem
yarn cs version
🦋 warn ===============================IMPORTANT!===============================
🦋 warn You are in prerelease mode
🦋 warn If you meant to do a normal release you should revert these changes and run `changeset pre exit`
🦋 warn You can then run `changeset version` again to do a normal release
🦋 warn ----------------------------------------------------------------------
🦋 error TypeError: Cannot read properties of null (reading 'prerelease')
🦋 error at getPreVersion (D:\code\unional\standard-log\node_modules\@changesets\assemble-release-plan\dist\assemble-release-plan.cjs.dev.js:437:27)
🦋 error at getPreInfo (D:\code\unional\standard-log\node_modules\@changesets\assemble-release-plan\dist\assemble-release-plan.cjs.dev.js:609:43)
🦋 error at Object.assembleReleasePlan [as default] (D:\code\unional\standard-log\node_modules\@changesets\assemble-release-plan\dist\assemble-release-plan.cjs.dev.js:490:19)
🦋 error at version (D:\code\unional\standard-log\node_modules\@changesets\cli\dist\cli.cjs.dev.js:599:60)
🦋 error at async run$2 (D:\code\unional\standard-log\node_modules\@changesets\cli\dist\cli.cjs.dev.js:1337:11)
Proposed solution
Seems like this is a bug with prerelease.
https://github.com/unional/standard-log/runs/6841190529?check_suite_focus=true
Even after I run changeset pre exit
, the issue persist. It goes away when I delete the pre.json
file.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'prerelease' of null #3 - GitHub
Seems we'll get this error when the input cannot been parsed by semver ... TypeError: Cannot read property 'prerelease' of null at repl:1:12 ......
Read more >Uncaught TypeError: Cannot read properties of null (reading ...
I have my chrome extension listing errors on the extensions tab, but it's not completing the code that i'm using the try/catch.
Read more >Cannot read properties of null" error occurs in certain cases ...
Scheduler - "TypeError: Cannot read properties of null" error occurs in certain cases based on the order of properties. Steps: Click the custom ......
Read more >Cannot read properties of null (reading '0') - WordPress.org
Hi, Please can someone advise me how to solve this problem? Google Site Kit encountered an error Cannot read properties of null (reading…...
Read more >TypeError: Cannot Read Properties of Null (Reading 'jsonType')
TypeError : Cannot Read Properties of Null (Reading 'jsonType') ... any suggestions? ... property off of a schema! ... It seems to be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi~ Do we have any update ?We ran into the same issue
same problem, https://github.com/changesets/changesets/pull/847 It works for me