-
Notifications
You must be signed in to change notification settings - Fork 39
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
Doesn't work when installed as a package dependency #30
Comments
Thanks to email alerts I totally missed these details when i was looking at this from my phone, sorry about that. I'll admit I never planned on this being used as a dependency. Let me take a look at the PR. Off the top of my head you could always do this now and have it work |
That's actually what my workaround does except node reads the main property in the package.json on our behalf. Also you've definitely created a rockstar module. This is so simple to setup compared to the alternatives. |
Thanks for the kind words, glad it works for you. I'm working on an update that will dynamically read in changes from the conf file.
…Sent from my iPhone
On Jan 29, 2017, at 08:56, Nick Woodward ***@***.***> wrote:
That's actually what my workaround does except node reads the main property in the package.json on our behalf.
Also you've definitely created a rockstar module. This is so simple to setup compared to the alternatives.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
When adding
dns-proxy
as a package dependency and trying to run it using a npm script.It will try to load
../dns-proxy.js
which doesn't exist relative to the bin that node runs.Workaround
The text was updated successfully, but these errors were encountered: