Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,407 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.

durul dalkanat
durul dalkanat
62,690 Points

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

zip -r ../yourfilename.zip *