MakingChatbots / ivr-tester

An automated testing framework for Interactive Voice Response (IVR) call flows
https://ivr-tester.makingchatbots.com/
MIT License
28 stars 9 forks source link

Increase Twilio version #26

Closed SketchingDev closed 3 years ago

SketchingDev commented 3 years ago

I had to increase the version of Twilio as the old version used an insecure version of Axios.

Unfortunately I also had to add the Express' types since after increasing the version of Twilio I got the following error:

$ yarn build
yarn run v1.22.5
$ lerna run build
lerna notice cli v3.22.1
lerna info Executing command in 3 packages: "yarn run build"
lerna ERR! yarn run build exited 2 in 'ivr-tester'
lerna ERR! yarn run build stdout:
$ yarn clean && tsc --declaration
$ rimraf dist/
../../node_modules/twilio/lib/webhooks/webhooks.d.ts(1,35): error TS2307: Cannot find module 'express' or its corresponding type declarations.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lerna ERR! yarn run build stderr:
error Command failed with exit code 2.

lerna ERR! yarn run build exited 2 in 'ivr-tester'
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.