morjs icon indicating copy to clipboard operation
morjs copied to clipboard

After initializing the project, running dev throws an error.

Open yanpengxiang opened this issue 1 year ago • 2 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:

  1. pnpm create mor
  2. pnpm run dev

image

  • node version v16.16.0
  • pnpm version v8.3.1
[mor] ✖ Cannot read properties of undefined (reading 'entryName')
[mor] ✖ ⁃ anonymous
             node_modules\.pnpm\@[email protected]_@[email protected][email protected][email protected]\node_modules\@morjs\plugin-compiler-web\lib\plugins\generateJSXEntryPlugin.js:292
           ⁃ GenerateJSXEntryPlugin.generateEntryFiles
             node_modules\.pnpm\@[email protected]_@[email protected][email protected][email protected]\node_modules\@morjs\plugin-compiler-web\lib\plugins\generateJSXEntryPlugin.js:290
           ⁃ anonymous
             node_modules\.pnpm\@[email protected]_@[email protected][email protected][email protected]\node_modules\@morjs\plugin-compiler-web\lib\plugins\generateJSXEntryPlugin.js:142

yanpengxiang avatar Dec 08 '23 07:12 yanpengxiang