streamich/react-use

Storybook deployment errors out

Open

#2,102 建立於 2021年9月2日

在 GitHub 查看
 (9 留言) (11 反應) (0 負責人)TypeScript (43,979 star) (3,273 fork)batch import
buggood first issuehelp wanted

描述

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)

貢獻者指南