{"action":"created","issue":{"url":"https://api.github.com/repos/alexa/alexa-skills-kit-sdk-for-nodejs/issues/489","repository_url":"https://api.github.com/repos/alexa/alexa-skills-kit-sdk-for-nodejs","labels_url":"https://api.github.com/repos/alexa/alexa-skills-kit-sdk-for-nodejs/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/alexa/alexa-skills-kit-sdk-for-nodejs/issues/489/comments","events_url":"https://api.github.com/repos/alexa/alexa-skills-kit-sdk-for-nodejs/issues/489/events","html_url":"https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/issues/489","id":382521199,"node_id":"MDU6SXNzdWUzODI1MjExOTk=","number":489,"title":"ASK CLI Deploy issue","user":{"login":"rakhi2104","id":17671710,"node_id":"MDQ6VXNlcjE3NjcxNzEw","avatar_url":"https://avatars3.githubusercontent.com/u/17671710?v=4","gravatar_id":"","url":"https://api.github.com/users/rakhi2104","html_url":"https://github.com/rakhi2104","followers_url":"https://api.github.com/users/rakhi2104/followers","following_url":"https://api.github.com/users/rakhi2104/following{/other_user}","gists_url":"https://api.github.com/users/rakhi2104/gists{/gist_id}","starred_url":"https://api.github.com/users/rakhi2104/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakhi2104/subscriptions","organizations_url":"https://api.github.com/users/rakhi2104/orgs","repos_url":"https://api.github.com/users/rakhi2104/repos","events_url":"https://api.github.com/users/rakhi2104/events{/privacy}","received_events_url":"https://api.github.com/users/rakhi2104/received_events","type":"User","site_admin":false},"labels":[{"id":907548375,"node_id":"MDU6TGFiZWw5MDc1NDgzNzU=","url":"https://api.github.com/repos/alexa/alexa-skills-kit-sdk-for-nodejs/labels/waiting%20service%20reply","name":"waiting service reply","color":"7dbbe8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-20T06:37:52Z","updated_at":"2018-11-21T22:51:52Z","closed_at":null,"author_association":"NONE","body":"## I'm submitting a...\r\n<pre><code>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Performance issue\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Other... Please describe:\r\n</code></pre>\r\n\r\n## Expected Behavior\r\nThe regular `ask deploy` or `ask deploy -t lambda` worked fine till I removed the node_modules and reinstalled the packages today morning.\r\n\r\n## Current Behavior\r\n```\r\n/usr/local/lib/node_modules/ask-cli/node_modules/aws-sdk/lib/request.js:31\r\n            throw err;\r\n            ^\r\n\r\nTypeError: Cannot read property 'slice' of undefined\r\n    at Object.removeLATESTFromArn (/usr/local/lib/node_modules/ask-cli/lib/utils/lambda-operation/lambda-endpoint-utility.js:180:13)\r\n    at _fillUpInfoFromResourcesConfig (/usr/local/lib/node_modules/ask-cli/lib/deploy/deploy-lambda.js:141:65)\r\n    at createLambda.createLambda (/usr/local/lib/node_modules/ask-cli/lib/deploy/deploy-lambda.js:67:21)\r\n    at Object.createLambda (/usr/local/lib/node_modules/ask-cli/lib/utils/lambda-operation/create-lambda.js:20:13)\r\n    at installNodeModule.install (/usr/local/lib/node_modules/ask-cli/lib/deploy/deploy-lambda.js:66:30)\r\n    at async.each (/usr/local/lib/node_modules/ask-cli/lib/utils/install-node-module.js:41:9)\r\n    at /usr/local/lib/node_modules/ask-cli/node_modules/async/dist/async.js:473:16\r\n    at eachOfArrayLike (/usr/local/lib/node_modules/ask-cli/node_modules/async/dist/async.js:1057:9)\r\n    at eachOf (/usr/local/lib/node_modules/ask-cli/node_modules/async/dist/async.js:1117:5)\r\n    at Object.eachLimit (/usr/local/lib/node_modules/ask-cli/node_modules/async/dist/async.js:3172:5)\r\n    at Object.module.exports.install (/usr/local/lib/node_modules/ask-cli/lib/utils/install-node-module.js:37:11)\r\n    at checkRuntimeForAskSdkUsage (/usr/local/lib/node_modules/ask-cli/lib/deploy/deploy-lambda.js:65:31)\r\n    at async.each (/usr/local/lib/node_modules/ask-cli/lib/deploy/deploy-lambda.js:110:9)\r\n    at /usr/local/lib/node_modules/ask-cli/node_modules/async/dist/async.js:473:16\r\n    at iteratorCallback (/usr/local/lib/node_modules/ask-cli/node_modules/async/dist/async.js:1064:13)\r\n    at /usr/local/lib/node_modules/ask-cli/node_modules/async/dist/async.js:969:16\r\n    at retrieveLambda.retrieveLambdaRuntime (/usr/local/lib/node_modules/ask-cli/lib/deploy/deploy-lambda.js:104:13)\r\n    at getLambdaFunction (/usr/local/lib/node_modules/ask-cli/lib/utils/lambda-operation/retrieve-lambda.js:33:9)\r\n    at Response.lambdaClient.getFunction (/usr/local/lib/node_modules/ask-cli/lib/utils/lambda-operation/retrieve-lambda.js:44:9)\r\n    at Request.<anonymous> (/usr/local/lib/node_modules/ask-cli/node_modules/aws-sdk/lib/request.js:364:18)\r\n    at Request.callListeners (/usr/local/lib/node_modules/ask-cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)\r\n    at Request.emit (/usr/local/lib/node_modules/ask-cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\r\n```\r\n\r\n## Environment\r\n* Ubuntu 18.04 LTS\r\n\r\n## Node.js and NPM Info\r\n* npm: v6.4.1\r\n* node: v10.11.0"},"comment":{"url":"https://api.github.com/repos/alexa/alexa-skills-kit-sdk-for-nodejs/issues/comments/440837851","html_url":"https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/issues/489#issuecomment-440837851","issue_url":"https://api.github.com/repos/alexa/alexa-skills-kit-sdk-for-nodejs/issues/489","id":440837851,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDgzNzg1MQ==","user":{"login":"RonWang","id":8865631,"node_id":"MDQ6VXNlcjg4NjU2MzE=","avatar_url":"https://avatars0.githubusercontent.com/u/8865631?v=4","gravatar_id":"","url":"https://api.github.com/users/RonWang","html_url":"https://github.com/RonWang","followers_url":"https://api.github.com/users/RonWang/followers","following_url":"https://api.github.com/users/RonWang/following{/other_user}","gists_url":"https://api.github.com/users/RonWang/gists{/gist_id}","starred_url":"https://api.github.com/users/RonWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonWang/subscriptions","organizations_url":"https://api.github.com/users/RonWang/orgs","repos_url":"https://api.github.com/users/RonWang/repos","events_url":"https://api.github.com/users/RonWang/events{/privacy}","received_events_url":"https://api.github.com/users/RonWang/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T22:51:52Z","updated_at":"2018-11-21T22:51:52Z","author_association":"NONE","body":"Hey @rakhi2104 can I ask what's your CLI version? I think once you go to the latest version of CLI v1.5.1, you won't have this issue anymore! Let me know if that solves"}}
{"actor":{"display_login":"RonWang"}}