Skip to content

[DEBUG] Cannot read properties of undefined (reading 'get') #431

@sanjose-j

Description

@sanjose-j

Hi, i am experiencing an error when creating a serverless project.
I am following this tutorial on creating Audio Livestream App
https://www.twilio.com/blog/build-audio-livestream-app-twilio-live

Here's the debug error for reference

[DEBUG] Found command "serverless:init" plugin: @twilio-labs/plugin-serverless
 » twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio-labs/serverless-toolkit/issues"
[DEBUG] Cannot read properties of undefined (reading 'get')
[DEBUG] TypeError: Cannot read properties of undefined (reading 'get')
    at getWindowSize (C:\Users\inggo\.twilio-cli\node_modules\create-twilio-function\src\create-twilio-function\window-size.js:8:34)
    at successMessage (C:\Users\inggo\.twilio-cli\node_modules\create-twilio-function\src\create-twilio-function\success-message.js:24:5)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async createTwilioFunction (C:\Users\inggo\.twilio-cli\node_modules\create-twilio-function\src\create-twilio-function.js:183:11)
    at async FunctionsInit._run (C:\Users\inggo\.twilio-cli\node_modules\@oclif\core\lib\command.js:79:22)
    at async Config.runCommand (C:\Users\inggo\AppData\Roaming\npm\node_modules\twilio-cli\node_modules\@oclif\core\lib\config\config.js:272:25)
    at async Object.run (C:\Users\inggo\AppData\Roaming\npm\node_modules\twilio-cli\node_modules\@oclif\core\lib\main.js:76:5)
 »   Error: EEXIT: 1
 »   Code: EEXIT

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions