Replies: 3 comments
-
|
使用yarn start才能启动成功! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
+1, 也出现这个问题 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
fixed see : ericclemmons/click-to-component#93 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
fatal - Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in D:\gdygit\smart-project-ui\node_modules.pnpm@umijs+preset-umi@4.3.28_@types+react@18.3.12_typescript@5.6.3_webpack@5.96.1\node_modules\click-to-react-component\package.json
at exportsNotFound (node:internal/modules/esm/resolve:294:10)
at packageExportsResolve (node:internal/modules/esm/resolve:584:13)
at resolveExports (node:internal/modules/cjs/loader:591:36)
at Module._findPath (node:internal/modules/cjs/loader:668:31)
at Module.resolveFilename (node:internal/modules/cjs/loader:1130:27)
at mod.resolveFilename (D:\gdygit\smart-project-ui\node_modules.pnpm\umi@4.3.28@babel+core@7.26.0@types+react@18.3.12_eslint@8.35.0_prettier@3.3.3_react-dom@18.xy77ygo6tm63pfof5s6tjs6mqa\node_modules\umi\dist\service\requireHook.js:13:26)
at Function.resolve (node:internal/modules/helpers:187:19)
at clickToComponent_default (D:\gdygit\smart-project-ui\node_modules.pnpm@umijs+preset-umi@4.3.28@types+react@18.3.12_typescript@5.6.3_webpack@5.96.1\node_modules@umijs\preset-umi\dist\features\clickToComponent\clickToComponent.js:51:52)
at Service.initPlugin (D:\gdygit\smart-project-ui\node_modules.pnpm@umijs+core@4.3.28\node_modules@umijs\core\dist\service\service.js:463:40)
at Service.run (D:\gdygit\smart-project-ui\node_modules.pnpm@umijs+core@4.3.28\node_modules@umijs\core\dist\service\service.js:259:18) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
fatal - A complete log of this run can be found in:
fatal - D:\gdygit\smart-project-ui\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