Tips on packaging the worker with extra plugins #862
Unanswered
backbeatmedia
asked this question in
Q&A
Replies: 1 comment 11 replies
-
Hey @backbeatmedia One thing that you've mentioned that might be the cause for the problem:
For the nexrender-core, all of the "embedded" plugins are defined on the core's package.json: https://github.com/inlife/nexrender/blob/master/packages/nexrender-core/package.json That is the step that might be failing. Other than that, the flow is simple: run a single command and grab the binary: |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I have a use case where I am adding certain additional plugins to the worker, then packaging a Windows .exe file to run on a separate server. The destination server has nothing installed other than patched After Effects.
The plugins are some I have found mentioned in the Nexrender readme and some I have built myself. Here is the snippet from @nexrender/core/src/index.js
Here is the snippet from the top level package.json
When I run the .exe it fails, complaining that it cannot require a module. The install font one is the first it encounters, so it fails there. If I remove that bit of the job.json, it fails on the next on in the job which happens to be @nexrender/action-encode.
I am sure that I have missed something obvious, basic and simple which is too fundamental to even be worth documenting. However I am new to node.js, npm and GitHub so I am struggling and I hope someone can help. When I've got this working I can test some bits I plan to contribute back to the project - namely the integration plugins for the Sanity headless CMS, and some worker options useful when running on an EC2 instance.
I have run pkg-prelink on my repository, and fiddled about with the other scripts in the package.json file. I am stumped.
Beta Was this translation helpful? Give feedback.
All reactions