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

fix: add vite/runtime in distDir #842

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

wattanx
Copy link
Collaborator

@wattanx wattanx commented Jun 28, 2023

πŸ”— Linked issue

#833

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

An error occurs at runtime because runtime/runtime/vite-node.mjs or runtime/client.manifest.mjs is missing in the distDir.

const serverResolvedPath = resolve(distDir, 'runtime/vite-node.mjs')
const manifestResolvedPath = resolve(distDir, 'runtime/client.manifest.mjs')

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@wattanx wattanx force-pushed the fix-vite-node-runtime-dir branch from b896739 to aab0288 Compare June 28, 2023 01:07
@wattanx wattanx requested a review from danielroe June 28, 2023 01:14
@wattanx wattanx force-pushed the fix-vite-node-runtime-dir branch from aab0288 to 5927708 Compare June 28, 2023 03:29
@wattanx wattanx changed the title fix: add vite/runtime in dist fix: add vite/runtime in distDir Jun 28, 2023
@danielroe danielroe merged commit 798694a into nuxt:main Jun 28, 2023
@danielroe danielroe mentioned this pull request Sep 14, 2023
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

Successfully merging this pull request may close these issues.

2 participants