Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Storybook for marionette framework throwing error "loaders is not a function" while accessing UI #1

Open
raviatot opened this issue Aug 24, 2020 · 3 comments

Comments

@raviatot
Copy link

Describe the bug
loaders is not a function
TypeError: loaders is not a function
at ConfigApi.configure (http://localhost:6006/vendors~main.2fa3a13d3b5409d01a58.bundle.js:8230:7)
at Object. (http://localhost:6006/main.2fa3a13d3b5409d01a58.bundle.js:17:36)
at Object../.storybook/generated-stories-entry.js (http://localhost:6006/main.2fa3a13d3b5409d01a58.bundle.js:18:30)
at webpack_require (http://localhost:6006/runtime~main.2fa3a13d3b5409d01a58.bundle.js:849:30)
at fn (http://localhost:6006/runtime~main.2fa3a13d3b5409d01a58.bundle.js:151:20)
at Object.0 (http://localhost:6006/main.2fa3a13d3b5409d01a58.bundle.js:1909:1)
at webpack_require (http://localhost:6006/runtime~main.2fa3a13d3b5409d01a58.bundle.js:849:30)
at checkDeferredModules (http://localhost:6006/runtime~main.2fa3a13d3b5409d01a58.bundle.js:46:23)
at Array.webpackJsonpCallback [as push] (http://localhost:6006/runtime~main.2fa3a13d3b5409d01a58.bundle.js:33:19)
at http://localhost:6006/main.2fa3a13d3b5409d01a58.bundle.js:1:57

To Reproduce
Steps to reproduce the behavior:

  1. npm i core-js
  2. npx -p @storybook/cli sb init --type marionette
  3. ./node_modules/@storybook/marionette/dist/server/options.js add framework as "marionette" for _defaults variable.
  4. npm run storybook
  5. browser opens at http://localhost:6006 with the below error

Expected behavior
Page should load without any errors

Screenshots
image

@sunilbatchu
Copy link

I have also got the same error.
Tried with [email protected] , [email protected] on a windows 10 machine. Same issue observed when executed scripts with yarn as well.
Looking forward for a solution.
Thanks in advance!

@tooppaaa
Copy link
Contributor

Can be related to storybookjs/storybook#12173

@stale
Copy link

stale bot commented Sep 20, 2020

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@shilman shilman transferred this issue from storybookjs/storybook May 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants