微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

当我执行 npm start 时,ext[key].bind 不是一个函数

如何解决当我执行 npm start 时,ext[key].bind 不是一个函数

当我执行 npm i 时,依赖项有问题,所以我跑了

npm install --save --legacy-peer-deps @material-ui/core

在终端中。现在,当我执行 npm start 时,我得到了这个:

 mern-stack-client@0.1.0 start

 react-scripts start

C:\Users\t\Prideshow\Prideshow\client\node_modules\renderkid\node_modules\domutils\index.js:12
                DomUtils[key] = ext[key].bind(DomUtils);
                                         ^

TypeError: ext[key].bind is not a function
    at C:\Users\t\Prideshow\Prideshow\client\node_modules\renderkid\node_modules\domutils\index.js:12:28
    at Array.forEach (<anonymous>)
    at C:\Users\t\Prideshow\Prideshow\client\node_modules\renderkid\node_modules\domutils\index.js:11:19
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (C:\Users\t\Prideshow\Prideshow\client\node_modules\renderkid\node_modules\domutils\index.js:10:3)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
npm ERR! code 1
npm ERR! path C:\Users\t\Prideshow\prideshow\client
npm ERR! command Failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c react-scripts start

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\t\AppData\Local\npm-cache\_logs\2021-07-12T16_22_08_251Z-debug.log

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。