log4brains
log4brains copied to clipboard
Preview fails with `Cannot read property 'incrementalOptions' of undefined`
Bug Report
Description
Executing log4brains preview
fails with Fatal Cannot read property 'incrementalOptions' of undefined
message
Steps to Reproduce
The full log can be seen below, but it is quite easy:
- Install log4brains as by instructions from ReadMe
- Execute
log4brains init
- Execute
log4brains preview
Expected Behavior
Seeing the preview
Context
I cannot see a preview of the ADRs
Environment
-
Log4brains version: 1.0.0-beta.13
-
Node.js version: 12.18.0
-
OS and its version: Windows 10.0.19044 N/A Build 19044
Hi! Is it a fresh install or are you upgrading from an older version of log4brains? If this is the case, can you try:
npm uninstall -g log4brains
rm -rf "$(npm root -g)/log4brains"
npm install -g log4brains
@thomvaill I was indeed updating from version 1.0.0-beta.12. The clean installation resolved the issue! Thanks so much!
The tool is really impressive. Amazing work.
@thomvaill Thanks, also works for me!
Cool! At least we have a workaround. But I still don't know why we have this issue when upgrading... Does someone have an idea?