question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't run within Meteor 1.4.2 project

See original GitHub issue

getstorybook 1.6.1 @kadira/storybook v2.28.0

Repro:

$ meteor create test && cd test $ getstorybook $ npm run storybook

Visiting http://localhost:6006/ the browser dumps the following error:

app.js:131 Uncaught TypeError: _storybookAddons2.default.getPreviewDecorator is not a function(…)
renderPreview   @   provider.js:87
Preview @   routes.js:22
(anonymous function)    @   ReactCompositeComponent.js:305
measureLifeCyclePerf    @   ReactCompositeComponent.js:74
_constructComponentWithoutOwner @   ReactCompositeComponent.js:304
_constructComponent @   ReactCompositeComponent.js:279
mountComponent  @   ReactCompositeComponent.js:187
mountComponent  @   ReactReconciler.js:47
mountChildren   @   ReactMultiChild.js:240
_createInitialChildren  @   ReactDOMComponent.js:699
mountComponent  @   ReactDOMComponent.js:524
mountComponent  @   ReactReconciler.js:47
mountChildren   @   ReactMultiChild.js:240
_createInitialChildren  @   ReactDOMComponent.js:699
mountComponent  @   ReactDOMComponent.js:524
mountComponent  @   ReactReconciler.js:47
mountChildren   @   ReactMultiChild.js:240
_createInitialChildren  @   ReactDOMComponent.js:699
mountComponent  @   ReactDOMComponent.js:524
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
mountChildren   @   ReactMultiChild.js:240
_createInitialChildren  @   ReactDOMComponent.js:699
mountComponent  @   ReactDOMComponent.js:524
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
mountChildren   @   ReactMultiChild.js:240
_createInitialChildren  @   ReactDOMComponent.js:699
mountComponent  @   ReactDOMComponent.js:524
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
mountChildren   @   ReactMultiChild.js:240
_createInitialChildren  @   ReactDOMComponent.js:699
mountComponent  @   ReactDOMComponent.js:524
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
mountChildren   @   ReactMultiChild.js:240
_createInitialChildren  @   ReactDOMComponent.js:699
mountComponent  @   ReactDOMComponent.js:524
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
mountChildren   @   ReactMultiChild.js:240
_createInitialChildren  @   ReactDOMComponent.js:699
mountComponent  @   ReactDOMComponent.js:524
mountComponent  @   ReactReconciler.js:47
performInitialMount @   ReactCompositeComponent.js:370
mountComponent  @   ReactCompositeComponent.js:257
mountComponent  @   ReactReconciler.js:47
mountComponentIntoNode  @   ReactMount.js:105
perform @   Transaction.js:138
batchedMountComponentIntoNode   @   ReactMount.js:127
perform @   Transaction.js:138
batchedUpdates  @   ReactDefaultBatchingStrategy.js:63
batchedUpdates  @   ReactUpdates.js:98
_renderNewRootComponent @   ReactMount.js:321
_renderSubtreeIntoContainer @   ReactMount.js:402
render  @   ReactMount.js:423
exports.default @   routes.js:43
init    @   app.js:119
exports.default @   index.js:37
(anonymous function)    @   index.js:16
(anonymous function)    @   manager.bundle.js:3339
__webpack_require__ @   manager.bundle.js:554
fn  @   manager.bundle.js:85
(anonymous function)    @   multi_manager:3
(anonymous function)    @   manager.bundle.js:584
__webpack_require__ @   manager.bundle.js:554
(anonymous function)    @   manager.bundle.js:577
(anonymous function)    @   manager.bundle.js:580

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
thani-shcommented, Oct 28, 2016

Hi, this was a recent bug v2.28.0 and it’s fixed from v2.28.1. Please re-install the storybook module if you’re getting this issue. We’re extremely sorry for the trouble.

rm -rf node_modules
npm install
0reactions
arunodacommented, Oct 28, 2016

I hope we could close this now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't upgrade to 1.4.2. Please Help! (SOLVED) - Meteor forums
I still can't update to the newest meteor version. It seems the meteor version is set to 1.4.2.3 but installing the packages failed....
Read more >
How to fix the build for Meteor 1.4.2 #153 - GitHub
Looks like npm is failing to compile phantomjs-prebuilt during installation of post-build npm dependencies. It looks as though phantomjs- ...
Read more >
Issue running with Angular Meteor 1.4.2 - Stack Overflow
I have troubled running angular-meteor at my environment. I git clone the project. Unable to resolve some modules: "@angular/core" in /Users/ ...
Read more >
How to Update Your Enterprise Meteor Application to 1.4
Marty shares how to update your Enterprise Meteor Application to 1.4 in this easy to follow guide.
Read more >
This project uses Meteor 1.4.2, which isn't available on Windows
Uninstalling my OLD meteor installation and re-installing 1.4.2 fixed it. Sorry, should have done that in the first place.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found