Closed ioanapop closed 2 years ago
This issue is stale since it has been open for 14 days with no activity. Please respond or this issue will be closed soon.
This stale issue has been closed now. Please reopen the issue if you are still having problems with the toolkit.
This issue is stale since it has been open for 14 days with no activity. Please respond or this issue will be closed soon.
This stale issue has been closed now. Please reopen the issue if you are still having problems with the toolkit.
Describe the bug
I'm trying to locally debug my Node lambda in VS Code, but the execution always hits this error: Uncaught AskSdk.DynamoDbPersistenceAdapter Error: Could not create table (Test-Audio-Player-Multi-Stream): Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 Things I tried unsuccessfully:
This is the stack: "AskSdk.DynamoDbPersistenceAdapter Error: Could not create table (Test-Audio-Player-Multi-Stream): Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1\n at Object.createAskSdkError (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\ask-sdk-runtime\dist\util\AskSdkUtils.js:23:19)\n at Response. (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\ask-sdk\node_modules\ask-sdk-dynamodb-persistence-adapter\dist\attributes\persistence\DynamoDbPersistenceAdapter.js:53:42)\n at Request. (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\aws-sdk\lib\request.js:370:18)\n at Request.callListeners (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\aws-sdk\lib\sequential_executor.js:106:20)\n at Request.emit (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\aws-sdk\lib\sequential_executor.js:78:10)\n at Request.emit (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\aws-sdk\lib\request.js:689:14)\n at Request.transition (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\aws-sdk\lib\request.js:22:10)\n at AcceptorStateMachine.runTo (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\aws-sdk\lib\state_machine.js:14:12)\n at C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\aws-sdk\lib\state_machine.js:26:10\n at Request. (C:\Projects\MultiStreamAudioPlayer\lambda\node_modules\aws-sdk\lib\request.js:38:9)"
To Reproduce
This is the sample that I try to use: https://github.com/alexa-samples/skill-sample-nodejs-audio-player/tree/mainline/multiple-streams Installing everything by following the instructions from here: https://developer.amazon.com/en-US/docs/alexa/smapi/quick-start-alexa-skills-kit-command-line-interface.html Creating credentials by following instructions from here: https://developer.amazon.com/en-US/docs/alexa/smapi/manage-credentials-with-ask-cli.html#create-aws-credentials Extension Logs
Expected behavior
I'm expecting to be able to successfully execute the lambda code. It's a sample that I downloaded and haven't changed much besides upgrading to the new version. Screenshots
Desktop (please complete the following information):
Additional context