-
Notifications
You must be signed in to change notification settings - Fork 62
TypeError: Runtime.getFunctions is not a function #9
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
Comments
Thank you so much for catching this. There are no tests for that file so they didn't catch the "fix" that I introduced for #7 You should be able to work with it now by |
No problem. Hooray! I'll give a go this week! |
dkundel
added a commit
that referenced
this issue
Aug 10, 2020
* fix(api): use new uploads API This change is using the new serverless-upload API instead of the AWS S3 upload. This drops also the support for the AWS Upload function BREAKING CHANGE: Removes uploadToAws as a function
dkundel
added a commit
that referenced
this issue
Aug 10, 2020
* fix(api): use new uploads API This change is using the new serverless-upload API instead of the AWS S3 upload. This drops also the support for the AWS Upload function BREAKING CHANGE: Removes uploadToAws as a function
dkundel
pushed a commit
that referenced
this issue
Aug 12, 2020
As part of the next version of create-twilio-function the command is now exported in the 'describe, cliInfo, handler' format. This updates the init command to use that instead of duplicating the options.
dkundel
pushed a commit
that referenced
this issue
Aug 12, 2020
As part of the next version of create-twilio-function the command is now exported in the 'describe, cliInfo, handler' format. This updates the init command to use that instead of duplicating the options.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi 👋 !
First, thank you for creating this! I'm excited to see it in action! 😄
However, I'm not sure what I'm doing wrong. I'm getting the following error when running
twilio-run
in the CLI. I also tried installingtwilio-run
as a global dependency but that didn't change anything.Expected behavior
Based on the documentation, when I run
twilio-run
or more specificallynode_modules/.bin/twilio-run
while inside the root directory, it should look for a sub-directory titledfunctions
then find all my functions in there and run them.Actual behavior
It throws an error. ^See code block above.
Steps to reproduce the behavior
npm install
node_modules/.bin/twilio-run
For some reason, it seems like
getFunctions()
is not being returned on theRuntime
object in/twilio-run/src/cli/route-info.js
. 🤔Happy to help try and solve this (with some guidance) if you'd like.
The text was updated successfully, but these errors were encountered: