-
Notifications
You must be signed in to change notification settings - Fork 8
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
"path" argument must be of type string #43
Comments
Furthermore, if I remove my server.js file contents completely and replace with the example server.js from the README, e.g.
I get this error:
|
This ended up being because I was using config.test.json instead of config.json because I have separate environment configs, and I didn't have the loopback-ssl config in config.json. So, this presents another issue, how to make loopback-ssl recognize the correct config file based on env settings. Currently, it seems it will only recognize config.json and not config.test.json, config.staging.json, or config.production.json. |
I am getting an undefined TypeError for the path argument. It seems similar to this issue #10, but in my case
return loopbackSSL.startServer(app);
follows my boot function. See below:Here's my config (actual server replaced with myserver):
The error reads:
I guess this could be something related to my boot function using socket.io, or an incorrect implementation of
loopbackSSL.startServer(app);
, which relates to #35. We need to have some examples of using this package with modified boot scripts and appStartEvents.The text was updated successfully, but these errors were encountered: