-
Notifications
You must be signed in to change notification settings - Fork 26
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
Errors when importing vue/server-renderer #139
Comments
This was referenced Jul 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
vue/server-renderer
export in the vue package re-exports@vue/server-renderer
.Expected Behavior
Applications which import
vue/server-renderer
will work fine when theimport-in-the-middle
hook is loaded.Actual Behavior
When attempting to open the application, the following error is logged:
Steps to Reproduce the Problem
npx nuxi init test-app
import-in-the-middle
yarn add import-in-the-middle
yarn nuxt build
import-in-the-middle
node --loader=import-in-the-middle/hook.mjs .output/server/index.mjs
Alternatively, this single-file approach seems to recreate the problem
index.mjs
Specifications
The text was updated successfully, but these errors were encountered: