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

App bundle fails to start worker, with message : "Worker is terminated" #362

Closed
bottom-up-ai opened this issue Nov 16, 2022 · 1 comment
Closed

Comments

@bottom-up-ai
Copy link

Hi,

I have a node/graphql app which I bundle using ncc (https://github.com/vercel/ncc#readme), which uses webpack under the hood.

When I'm in a dev environment (using source files), everything works without fine.

When I bundle my app and try lauching the corresponding functions which will be used inside the worker pool, the only response I have is :

Error : Worker is terminated.

It seems that during the build step, the worker pool isn't able to load the corresponding functions.

I looked into the issues and didn't find anything conclusive. The only one I found which seemed related is #189.

Not sure what to do, since I don't have a more specific error message from the package.

Thank you for your help & your time.

@bottom-up-ai bottom-up-ai changed the title App bundle fails to start bundle, with message : "Worker is terminated" App bundle fails to start worker, with message : "Worker is terminated" Nov 16, 2022
@bottom-up-ai
Copy link
Author

Fixed :

While bundling with ncc, it's possible to add the -a flag, which builds assets recursively.

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

No branches or pull requests

1 participant