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

Preview fails with Cannot read property 'incrementalOptions' of undefined #80

Open
Crown0815 opened this issue Jul 12, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Crown0815
Copy link

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:

  1. Install log4brains as by instructions from ReadMe
  2. Execute log4brains init
  3. Execute log4brains preview

image

Expected Behavior

Seeing the preview

Context

I cannot see a preview of the ADRs

Environment

  • Log4brains version: 1.0.0-beta.13
    image

  • Node.js version: 12.18.0
    image

  • OS and its version: Windows 10.0.19044 N/A Build 19044

@Crown0815 Crown0815 added the bug Something isn't working label Jul 12, 2022
@thomvaill
Copy link
Owner

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

@Crown0815
Copy link
Author

@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.

@mangoldd
Copy link

@thomvaill Thanks, also works for me!

@thomvaill
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants