Replies: 1 comment
-
由于缺乏足够的信息,请提供 最小重现 的 demo 帮助排查问题。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
leo@leodeMacBook-Pro ~/Documents/go/yffops/web umi dev
fatal - AssertionError [ERR_ASSERTION]: Invalid plugin umi-plugin-react,[object Object], it must be string.
at /Users/leo/.config/yarn/global/node_modules/@umijs/core/dist/service/plugin.js:124:38
at Array.map ()
at get (/Users/leo/.config/yarn/global/node_modules/@umijs/core/dist/service/plugin.js:123:15)
at Plugin.getPluginsAndPresets (/Users/leo/.config/yarn/global/node_modules/@umijs/core/dist/service/plugin.js:144:22)
at Service.run (/Users/leo/.config/yarn/global/node_modules/@umijs/core/dist/service/service.js:196:54)
at Service.run2 (/Users/leo/.config/yarn/global/node_modules/umi/dist/service/service.js:36:27)
at /Users/leo/.config/yarn/global/node_modules/umi/dist/cli/forkedDev.js:13:23
at Object. (/Users/leo/.config/yarn/global/node_modules/umi/dist/cli/forkedDev.js:43:3)
at Module._compile (node:internal/modules/cjs/loader:1120:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
fatal - A complete log of this run can be found in:
fatal - /Users/leo/Documents/go/yffops/web/node_modules/.cache/logger/umi.log
fatal - Consider reporting a GitHub issue on https://github.com/umijs/umi/issues
Beta Was this translation helpful? Give feedback.
All reactions