Search code examples
javascriptnode.jsnpmmodulealexa-skills-kit

How do I use node modules on the Alexa Developer Console?


I'm trying to make an Alexa skill which uses a Node.JS API using a module, usually installed via npm. However, I can't upload the node modules as there is no upload button. I can't just simply use npm install as there is no console. How would I do this?


Solution

  • In the follow-up questions, you say you're using straight developer.amazon.com and not messing with AWS.

    When you're using the Alexa Hosted feature and the code editor in the Alexa developer console, you'll edit your package.json in the code editor to make the module a dependency and the package should get loaded automatically when you save and deploy your code.