-
Notifications
You must be signed in to change notification settings - Fork 1k
Support for node-adodb #736
Comments
Found a slightly better solution - I'm now able to copy the file directly from That being said, proper support for |
Hi @chrissantamaria i have same problem, but i dont understand how you resolve. Can you show me the code? |
Sure! Here's a demo repo to show how I've handled this situation in the past: https://github.com/chrissantamaria/pkg-node-adodb |
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label |
This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit. |
I currently use
pkg
in production withnode-adodb
being one of my main packages used in my application. Due to the way it performs database queries, it relies on one of its lib filesadodb.js
being accessible from a spawned CScript process whichpkg
prevents due to its bundling behavior.This is a known issue and the current solution is to manually copy the file to the execution directory and point
node-adodb
to it. This works fine for me, but I would prefer for the Node process to be able to either create this file at runtime if it's not present or prevent needing it in the directory altogether.I see the
dictionary
directory inpkg
filled with what I suspect to be patches for some packages, though there's no documentation I could find on them. Is there any way a similar patch could be made fornode-adodb
/ where could I find resources to create a patch myself?The text was updated successfully, but these errors were encountered: