-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[🐞] Vanilla Node Server Adapter - Cannot find package 'undici' #6594
Comments
Hi @RumNCodeDev we are importing |
@gioboa how would I accomplish that as part of the pipeline as thats a generated file? |
you can add a The original issue is solved, so I'm closing it for now. |
@gioboa , so if i do that, then i get another error for |
Here you can find the Docker solution for a Qwik Node Server. In a specific step is adding all the dependencies
I think we can improve this process, but it's definitively a feature request. |
Re-opening because I think there's a DX problem to be solved here. We either need to update the docs, or update the adapter to make sure devs are successful in installing the node adapter to be used in a regular server. |
Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
I am attempting to build and deploy a QwikCity Web App to Azure using the
Node.js Server (Vanilla Node server)
adapter. However after running thebuild
command, and copy/paste thedist
andserver
folders into a new directory and attempting to runnode server/entry.node-server
I get the following errorReproduction
https://stackblitz.com/edit/vitejs-vite-q5swzr?file=index.html
Steps to reproduce
npm create qwik@latest
and selectEmpty App
.npm qwik add
to add theAdapter: Node.js Server (Vanilla Node server)
build
command from the package.jsondist
andserver
files into a new directory outside of the current project structure (like you would for a production deploy)node server/entry.node-server
in the new directorySystem Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: