Problem/Motivation

index.js:56 TypeError: Cannot read property '_keys' of undefined
    at twig.js:3504
    at Array.forEach (<anonymous>)
    at Object.Twig.forEach (twig.js:154)
    at Twig.Template.merge (twig.js:3496)
    at Twig.Template.Twig.filter (twig.js:3963)
    at twig.js:2341
    at Object.resolve (twig.js:7427)
    at append (twig.js:7383)
    at twig.js:7424
    at run (twig.js:7389)

Steps to reproduce

1. npm run build
2. npm run storybook

Comments

iamfredrik created an issue. See original summary.

iamfredrik’s picture

Issue summary: View changes
iamfredrik’s picture

This is a duplicate of https://www.drupal.org/project/bootstrap_storybook/issues/3201120 and I was able to fix the error with the code from there, but why isn't this fixed in the 3.2.9 release?

doxigo’s picture

Hey Fredrik,

Thanks for bringing this up, not sure what brought this back up but will have a look later on and provide a fix, if you could also drop a patch would be nice since you already fixed the issue

iamfredrik’s picture

What I meant to say was that I fixed the error by copying the code into my subtheme from: https://www.drupal.org/commitlog/commit/101185/e5290271f1e5b47fbe51afb84...

I have not looked into why the base theme generates the old files when creating a subtheme.

doxigo’s picture

Alright, thanks for the extra info, will have it fixed over the weekend hopefully

  • doxigo committed 120d100 on 3.2.x
    Issue #3220523 by iamfredrik, doxigo: Storybook buttons errors
    
doxigo’s picture

Status: Active » Fixed

Re-fixed this again and pushed to the latest dev version, thanks for bringing this up

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.