-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
Use entrypoint from resources #820
Comments
|
@calebboyd - thank you for quick response. I tried this, but I still need to keep
I wanted to check if there is any option so I don't have to provide |
That shouldn't be necessary, do you have a minimal reproduction? |
Sure, I can provide you that. But if I copy the exe to some other location and when I try to execute I get following exception:
|
@calebboyd - here is my directory structure. I would like to execute the app
|
I can't reproduce this with the information here
|
Closed awaiting response from OP, please open a new issue with the requested information and/or examples |
I have the same problem here. My main entry point for the app is index.js. I build everything (node 20.13.0) with next server.js --build, and it prodouces a bundled executable named 'server'. if I run the executable from the same folder it was created in, everything is fine, but if I try to cp it anywhere else in the disk and execute it, it crashes with:
@calebboyd try to bundle a file and then copy the executable somewhere completely different, like downloads and see if this also happens to you. |
I use
@vercel/ncc
to compile the module in single file(index.js), I am also adding this to resources using--resources
optionCan I use the
index.js
from resources as the entrypoint?The text was updated successfully, but these errors were encountered: