amilajack / openvpn-bin

Initialize a openvpn instance for mac, windows & linux
0 stars 0 forks source link

import Promise from 'bluebird' #4

Open CipherSam opened 5 years ago

CipherSam commented 5 years ago

I'm trying to use this package with both

var openvpnmanager = require('@amilajack/node-openvpn')
var openvpnBin = require('@amilajack/openvpn-bin')

(I have tried without putting the amilajack before the package name)

I have a .ovpn file I wish to use that does not require authentication of any type, however, I'll hope to get to that soon as I have no use for telnet connections, just natively opening a .ovpn file.

For some reason, I am getting the following error: 71899b254c43b9c13da0fee5f682f2eb

Installing both packages works completely fine and they are both there for sure. I would also appreciate some level of help for not having to use the host: and port: parameters, just the config: parameter.

Thank you.

amilajack commented 5 years ago

I've just published to the next branch. Please install with npm i @amilajack/openvin-bin@next and try that. Also I should mention that I haven't tested this module and I'm looking for contributors. So if you have time I'd love if you could contribute!

CipherSam commented 5 years ago

I'm very interested in contributing, sure. I've ran the command, uninstalled the package and reinstalled, but I'm still getting the same error here.

amilajack commented 5 years ago

Interesting, did you install the next branch?

CipherSam commented 5 years ago

Yes, I have confirmed too as its the most recent code you uploaded.

amilajack commented 5 years ago

bluebird isn't even used in the next branch. Can you send me your package.json

CipherSam commented 5 years ago

Sure, here are the dependencies being used:

"dependencies": {
    "@amilajack/node-openvpn": "0.0.0",
    "@amilajack/openvpn-bin": "0.0.1-0",
    "child_process": "^1.0.2",
    "custom-electron-titlebar": "^3.1.0",
    "is-admin": "^3.0.0",
    "jquery": "^3.4.1",
    "minimist": "^1.2.0",
    "node-cmd": "^3.0.0",
    "node-notifier": "^5.4.3",
    "path": "^0.12.7"
amilajack commented 5 years ago

Can you share the stacktrace as well

CipherSam commented 5 years ago

Ah here, it seems bluebird is coming from your node-openvpn package. That's where the stacktrace leads too for the full error.

import Promise from 'bluebird';