streamich/react-use

Storybook deployment errors out

Open

#2102 aperta il 2 set 2021

Vedi su GitHub
 (9 commenti) (11 reazioni) (0 assegnatari)TypeScript (3273 fork)batch import
buggood first issuehelp wanted

Metriche repository

Star
 (43.979 star)
Metriche merge PR
 (Merge medio 1743g 9h) (1 PR mergiata in 30 g)

Descrizione

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)

Guida contributor