Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Cannot read property 'name' of undefined #18053

Closed
wstcyx opened this issue Feb 5, 2024 · 1 comment
Closed

Cannot read property 'name' of undefined #18053

wstcyx opened this issue Feb 5, 2024 · 1 comment

Comments

@wstcyx
Copy link

wstcyx commented Feb 5, 2024

In version 5.90.1 of webpack, an error is reported in FlagDependencyExportsPlugin.js, and the error content is as follows:

//lib/node_modules/@haier/packi/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:189
name = exportNameOrSpec.name;
^
TypeError: Cannot read property 'name' of undefined
at mergeExports (/
/lib/node_modules/@haier/packi/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:189:38)

I printed the exports and indeed found some undefined. However, I do not know what FlagDependencyExportsPlugin.js is used for. Please fix this issue as soon as possible.
92991707126972_ pic

@wstcyx
Copy link
Author

wstcyx commented Feb 5, 2024

exports [ 'initializeFEStubs' ]
exports [ 'default' ]
exports [ 'default' ]
exports [ undefined ]

@webpack webpack locked and limited conversation to collaborators Feb 5, 2024
@alexander-akait alexander-akait converted this issue into discussion #18055 Feb 5, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant