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

Build is failing with Unfinished hook action(s) on exit: (proxyRemoteEntry) load "virtual:mf-REMOTE_ENTRY_ID" #132

Open
mshima opened this issue Oct 3, 2024 · 6 comments

Comments

@mshima
Copy link
Contributor

mshima commented Oct 3, 2024

Is there a way to debug the error?

x Build failed in 2.20s
error during build:
Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:
(proxyRemoteEntry) load "virtual:mf-REMOTE_ENTRY_ID"
@gioboa
Copy link
Collaborator

gioboa commented Oct 3, 2024

With VSCode you can run scripts in debug mode and you can use the breakpoints to proceed step by step.

@zhangHongEn
Copy link
Contributor

zhangHongEn commented Oct 4, 2024

Is there a way to debug the error?

x Build failed in 2.20s
error during build:
Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:
(proxyRemoteEntry) load "virtual:mf-REMOTE_ENTRY_ID"

Could you provide a reproducible example? I have a general idea of the cause of this error, but I don’t know how to reproduce it.​ @mshima

@mshima
Copy link
Contributor Author

mshima commented Oct 4, 2024

@zhangHongEn I've found the error.
The exposed modules was not found.
Execution vite correctly shows the error message, but vite build erroring with this error.

Happened when migrating from Webpack which does not require vue extension in exposes.

@gioboa
Copy link
Collaborator

gioboa commented Oct 4, 2024

@mshima Can we add a warning in the terminal for this?

@mshima
Copy link
Contributor Author

mshima commented Oct 4, 2024

@mshima Can we add a warning in the terminal for this?

Would be nice to fail with correct error message.

@gioboa
Copy link
Collaborator

gioboa commented Oct 5, 2024

Can we throw the correct one?

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

3 participants