-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Vue SSR - TypeError: createServer is not a function #1307
Comments
This solved it for me: |
are you sure that you exclude in ssr.external = |
Thanks @amiranagram and @KimhoutSam for your help here. Going to close this one since @ramonmalcolm10 hasn't responded, and I don't think there is actually a bug here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions:
Describe the problem:
Getting error "TypeError: createServer is not a function" while trying SSR from
import createServer from '@inertiajs/server
package.Steps to reproduce:
vite build --ssr --outDir public/build/server
node public/build/server/ssr.mjs
The text was updated successfully, but these errors were encountered: