streamich/react-use

Storybook deployment errors out

Open

#2102 opened on Sep 2, 2021

View on GitHub
 (9 comments) (11 reactions) (0 assignees)TypeScript (43,979 stars) (3,273 forks)batch import
buggood first issuehelp wanted

Description

https://streamich.github.io/react-use/ has the following error:

image

Module build failed (from ./node_modules/ts-loader/index.js):
TypeError: loaderContext.getOptions is not a function
    at getLoaderOptions (/root/repo/node_modules/ts-loader/dist/index.js:91:41)
    at Object.loader (/root/repo/node_modules/ts-loader/dist/index.js:14:21)
Error: Module build failed (from ./node_modules/ts-loader/index.js):
TypeError: loaderContext.getOptions is not a function
    at getLoaderOptions (/root/repo/node_modules/ts-loader/dist/index.js:91:41)
    at Object.loader (/root/repo/node_modules/ts-loader/dist/index.js:14:21)
    at Object.756 (https://streamich.github.io/react-use/main.f03a0dc5.iframe.bundle.js:1:8384)
    at __webpack_require__ (https://streamich.github.io/react-use/runtime~main.c19c90be.iframe.bundle.js:1:1301)
    at webpackContext (https://streamich.github.io/react-use/main.f03a0dc5.iframe.bundle.js:1:7982)
    at https://streamich.github.io/react-use/main.f03a0dc5.iframe.bundle.js:1:880
    at Array.forEach (<anonymous>)
    at loadStories (https://streamich.github.io/react-use/main.f03a0dc5.iframe.bundle.js:1:845)
    at https://streamich.github.io/react-use/vendors~main.f06e85f2.iframe.bundle.js:2:376709
    at ConfigApi.configure (https://streamich.github.io/react-use/vendors~main.f06e85f2.iframe.bundle.js:2:310963)
    at Object.configure (https://streamich.github.io/react-use/vendors~main.f06e85f2.iframe.bundle.js:2:380450)
    at configure (https://streamich.github.io/react-use/vendors~main.f06e85f2.iframe.bundle.js:2:70090)

Contributor guide