Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After initializing the project, running dev throws an error. #134

Open
yanpengxiang opened this issue Dec 8, 2023 · 2 comments
Open

After initializing the project, running dev throws an error. #134

yanpengxiang opened this issue Dec 8, 2023 · 2 comments

Comments

@yanpengxiang
Copy link

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
Copy link
Author

This error occurs when I select the web option as Yes.

@lihe6666
Copy link

我也遇到了这个问题, 怎么解?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants