Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?

question from:https://stackoverflow.com/questions/65943420/how-do-i-use-node-modules-on-the-alexa-developer-console

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
66 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...