After initializing the project, running dev throws an error.
yanpengxiang opened this issue · comments
When I initialize the project according to the examples on the official website, I get an error when running dev.
Steps to reproduce the behavior:
- pnpm create mor
- pnpm run dev
- node version v16.16.0
- pnpm version v8.3.1
[mor] ✖ Cannot read properties of undefined (reading 'entryName')
[mor] ✖ ⁃ anonymous
node_modules\.pnpm\@morjs+plugin-compiler-web@1.0.0_@swc+core@1.2.192_esbuild@0.14.54_webpack@5.89.0\node_modules\@morjs\plugin-compiler-web\lib\plugins\generateJSXEntryPlugin.js:292
⁃ GenerateJSXEntryPlugin.generateEntryFiles
node_modules\.pnpm\@morjs+plugin-compiler-web@1.0.0_@swc+core@1.2.192_esbuild@0.14.54_webpack@5.89.0\node_modules\@morjs\plugin-compiler-web\lib\plugins\generateJSXEntryPlugin.js:290
⁃ anonymous
node_modules\.pnpm\@morjs+plugin-compiler-web@1.0.0_@swc+core@1.2.192_esbuild@0.14.54_webpack@5.89.0\node_modules\@morjs\plugin-compiler-web\lib\plugins\generateJSXEntryPlugin.js:142
This error occurs when I select the web option as Yes.
我也遇到了这个问题, 怎么解?