You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd G:\UmiJsWorkSpace\umi-examples-master\eleme-demo>
3.安装依赖
yarn
4.运行
yarn start
5.运行结果
debug is not a function
TypeError: debug is not a function
at module.exports (G:\UmiJsWorkSpace\umi-examples-master\eleme-demo\node_modules\umi-plugin-datahub\index.js:25:3)
at G:\UmiJsWorkSpace\umi-examples-master\eleme-demo\node_modules\@umijs\core\lib\Service\Service.js:350:29
at Generator.next (<anonymous>)
at asyncGeneratorStep (G:\UmiJsWorkSpace\umi-examples-master\eleme-demo\node_modules\@umijs\core\lib\Service\Service.js:108:103)
at _next (G:\UmiJsWorkSpace\umi-examples-master\eleme-demo\node_modules\@umijs\core\lib\Service\Service.js:110:194)
at G:\UmiJsWorkSpace\umi-examples-master\eleme-demo\node_modules\@umijs\core\lib\Service\Service.js:110:364
at new Promise (<anonymous>)
at G:\UmiJsWorkSpace\umi-examples-master\eleme-demo\node_modules\@umijs\core\lib\Service\Service.js:110:97
at Service.applyAPI (G:\UmiJsWorkSpace\umi-examples-master\eleme-demo\node_modules\@umijs\core\lib\Service\Service.js:357:7)
at G:\UmiJsWorkSpace\umi-examples-master\eleme-demo\node_modules\@umijs\core\lib\Service\Service.js:440:20
Done in 5.94s.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
遇到的问题
使用yarn start命令运行umi-examples中的eleme-demo时报错debug is not a function
仓库地址 https://github.com/umijs/umi-examples/tree/master/eleme-demo
复现步骤
1.在github下载umi-examples代码
2.进入eleme-demo
3.安装依赖
4.运行
5.运行结果
我已按照umijs官方文档修改package.json和umirs.js文件
修改后的package.json
修改后的umirs.js
Context
Beta Was this translation helpful? Give feedback.
All reactions