Tencent / hel

A module federation SDK which is unrelated to tool chain for module consumer. 工具链无关的运行时模块联邦sdk.
https://tencent.github.io/hel/
Other
931 stars 79 forks source link

template: hel-remote-react-comp-tpl-ts 执行build_dist 失败 #81

Closed coderbaozi closed 8 months ago

coderbaozi commented 8 months ago

Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:438:19) at Module._findPath (node:internal/modules/cjs/loader:680:18) at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) at Object. (/Users/bytedance/Project/hel/templates/hel-remote-react-comp-tpl-ts/config/paths.js:6:17) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) { code: 'MODULE_NOT_FOUND',

fantasticsoul commented 8 months ago

提供一下这个失败例子的对应的仓库链接呢?我试了 https://github.com/hel-eco/hel-tpl-remote-react-comp-ts 是成功的

coderbaozi commented 8 months ago

提供一下这个失败例子的对应的仓库链接呢?我试了 https://github.com/hel-eco/hel-tpl-remote-react-comp-ts 是成功的

https://github.com/tnfe/hel/tree/main/templates/hel-remote-react-comp-tpl-ts

fantasticsoul commented 8 months ago

示例已更新