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?
I am having some problems installing on our server.
I have executed the following:
npm install twilio-cli -gwhere I got an exception saying the dependency
ngrokcannot be downloaded – this is because ngrok is blocked by our firewall for security reasons.I then tried:
npm install twilio-cli -g --no-optionalwhich 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-serverlessversion 1.7.1 is one, and this had the same problem as the CLI.The problem here is that
--no-optionalthrows the same error, so I believe ngrok is not an optional dependency but a required one.Can
ngrokbe changed to be an optional dependency, or is there another way around this?