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

Storybook fails to build from InterpolateHtmlPlugin error [alpha.15] #3953

Closed
IanVS opened this issue Aug 3, 2018 · 4 comments
Closed

Storybook fails to build from InterpolateHtmlPlugin error [alpha.15] #3953

IanVS opened this issue Aug 3, 2018 · 4 comments

Comments

@IanVS
Copy link
Member

IanVS commented Aug 3, 2018

If you are reporting a bug or requesting support, start here:

Bug or support request summary

I tried to upgrade from alpha.12 to alpha.15, and now when I perform a build-storybook, I'm getting the error:

ERR! Failed to build the storybook
ERR!   TypeError: callback is not a function
ERR!
ERR!   - InterpolateHtmlPlugin.js:37 compilation.plugin
ERR!     [web]/[react-dev-utils]/InterpolateHtmlPlugin.js:37:11
.
.
.

Steps to reproduce

Update to alpha.15, perform a build-storybook. That's all I did, but maybe there are other contributing factors?

Please specify which version of Storybook and optionally any affected addons that you're running

"@storybook/addon-actions": "4.0.0-alpha.15",
"@storybook/addon-info": "4.0.0-alpha.15",
"@storybook/addon-knobs": "4.0.0-alpha.15",
"@storybook/addon-options": "4.0.0-alpha.15",
"@storybook/react": "4.0.0-alpha.15",

Affected platforms

❯ yarn list --pattern react-dev-utils
yarn list v1.9.2
└─ [email protected]

It seems like maybe this could be related to #3852.

@igor-dv
Copy link
Member

igor-dv commented Aug 5, 2018

Until the fix is released, I can suggest locking manually a right version of the react-dev-utils (3e165448) in your lock file.

@ndelangen
Copy link
Member

This change might also fix it: #3919

@pksunkara
Copy link
Member

@ndelangen No, only #3959 would fix it. WatchMissingNodeModulesPlugin also produces this issue.

@shilman
Copy link
Member

shilman commented Aug 6, 2018

Released a fix in 4.0.0-alpha.16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants