Skip to content
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

jovo get fails with "TypeError: Cannot read property 'uri' of undefined" #25

Closed
serg06 opened this issue May 18, 2018 · 6 comments
Closed

Comments

@serg06
Copy link

serg06 commented May 18, 2018

> jovo get alexaSkill --skill-id <redacted>

? Found existing project files. How to proceed? Overwrite
   × Getting Alexa Skill project for ASK profile default
     -> Cannot read property 'uri' of undefined
     Getting Alexa Skill model files and saving to /platforms/alexaSkill/models

{ TypeError: Cannot read property 'uri' of undefined
    at Object.getSkillSimpleInformation (C:\Users\redacted\AppData\Roaming\npm\node_modules\jovo-cli\helper\alexaUtil.js:413:65)
    at p.then.then.then.then.then.then (C:\Users\redacted\AppData\Roaming\npm\node_modules\jovo-cli\commands\tasks.js:103:57)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)
  context:
   { skillId: '<redacted>',
     locales: [ 'en-US' ],
     type: 'alexaSkill',
     target: 'all',
     projectId: undefined,
     stage: undefined,
     askProfile: 'default',
     info: 'Info: ' } }

I just set up ASK CLI by following the instructions to a dot. Not sure why it's not working, jovo new/init/build work fine.

Jovo CLI Version: 1.1.1

@jankoenig
Copy link
Member

Thanks. Did you set an endpoint for the Skill already? The CLI seems to be expecting that an endpoint is already set.

@serg06
Copy link
Author

serg06 commented May 22, 2018

I have it set to an Amazon Lambda ARN with only the "Default Region" filled in.

@jankoenig
Copy link
Member

Hi there, thanks for helping us discover a bug: For me, it throws an error when the endpoint is empty. Will look into this with @aswetlow.

However, it works for me when I use a Lambda ARN. Will get back to you when we have investigated the problem.

@serg06
Copy link
Author

serg06 commented May 22, 2018

Thank you!

@aswetlow
Copy link
Member

Can't reproduce it with a Lambda ARN. Fixed the issue (in v1.1.3) when the endpoint is empty. Could you try it again, @serg06 ?

@serg06
Copy link
Author

serg06 commented May 29, 2018

Works in 1.1.3 for me (though I have changed a lot of settings by now), thanks!

@serg06 serg06 closed this as completed May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants