Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

APIs Build an Alexa Skill Testing and Publishing an Alexa Skill Testing an Alexa Skill

Alva Svoboda
Alva Svoboda
135 Points

I don't understand how I can change answers in the lambda function for the different definitions I've used in my version

I'm trying to follow along in the tutorial. All the answer sentences appear to be in the lambda function code. I don't know how to add my answers to that code, because it's all zipped up and I don't seem to be able to add the definitions.json file back in after I edited it.

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

Extract all files from the .zip file, edit the extracted files, then make a new .zip file from the folder to upload. On Windows right-click the folder in Explorer and select Sent to -> Compressed (zipped) folder.

when you are in the directory containing your index.js, node_modules, etc. files. run this command below.

zip -r ../yourfilename.zip *