NGrok required dependency installer issue #37
Description
I am having some problems installing on our server.
I have executed the following:
npm install twilio-cli -g
where I got an exception saying the dependency ngrok
cannot be downloaded – this is because ngrok is blocked by our firewall for security reasons.
I then tried:
npm install twilio-cli -g --no-optional
which worked, Twilio CLI is now installed globally on the server.
Next I tried to install the dependencies of the application itself, of which @twilio-labs/plugin-serverless
version 1.7.1 is one, and this had the same problem as the CLI.
The problem here is that --no-optional
throws the same error, so I believe ngrok is not an optional dependency but a required one.
Can ngrok
be changed to be an optional dependency, or is there another way around this?