{"action":"created","issue":{"url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/39","labels_url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/39/comments","events_url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/39/events","html_url":"https://github.com/Tim-B/grunt-aws-lambda/issues/39","id":110783400,"number":39,"title":"Error in lambda_package.js","user":{"login":"sajayi","id":222459,"avatar_url":"https://avatars.githubusercontent.com/u/222459?v=3","gravatar_id":"","url":"https://api.github.com/users/sajayi","html_url":"https://github.com/sajayi","followers_url":"https://api.github.com/users/sajayi/followers","following_url":"https://api.github.com/users/sajayi/following{/other_user}","gists_url":"https://api.github.com/users/sajayi/gists{/gist_id}","starred_url":"https://api.github.com/users/sajayi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajayi/subscriptions","organizations_url":"https://api.github.com/users/sajayi/orgs","repos_url":"https://api.github.com/users/sajayi/repos","events_url":"https://api.github.com/users/sajayi/events{/privacy}","received_events_url":"https://api.github.com/users/sajayi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-10T09:18:13Z","updated_at":"2016-01-12T21:37:15Z","closed_at":null,"body":"Hi, \r\nThanks for this lovely plugin. \r\n\r\nI have an error with running lambda_package I debugged and found  that\r\n\r\ngrunt-aws-lambda/tasks/lambda_package.js Line 66: \r\nnpm.commands.install(install_location, options.package_folder , function () {\r\n\r\nreturns the follow error\r\n\r\nFatal error: Argument #2: Expected array but got string\r\n\r\nWhen I change it to \r\nnpm.commands.install(install_location, [options.package_folder] , function () {\r\n\r\nIt works but I get the follow warnings \r\nnpm WARN ENOENT ENOENT, open '/private/var/folders/4r/9q6tv2_55257mkv4t9l7d4xw0000gn/T/1444468471486.175/package.json'\r\nnpm WARN EPACKAGEJSON /var/folders/4r/9q6tv2_55257mkv4t9l7d4xw0000gn/T/1444468471486.175 No description\r\nnpm WARN EPACKAGEJSON /var/folders/4r/9q6tv2_55257mkv4t9l7d4xw0000gn/T/1444468471486.175 No repository field.\r\nnpm WARN EPACKAGEJSON /var/folders/4r/9q6tv2_55257mkv4t9l7d4xw0000gn/T/1444468471486.175 No README data\r\nnpm WARN EPACKAGEJSON /var/folders/4r/9q6tv2_55257mkv4t9l7d4xw0000gn/T/1444468471486.175 No license field.\r\n\r\nAny ideas how to fix it? My package.json file is \r\n\r\n{\r\n  \"name\": \"lambda-local\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"SMS Processor\",\r\n  \"main\": \"index.js\",\r\n  \"private\": \"true\",\r\n  \"dependencies\": {\r\n    \"aws-sdk\": \"^2.2.9\",\r\n    \"mysql\": \"^2.9.0\",\r\n    \"node-uuid\": \"^1.4.3\",\r\n    \"npm\": \"^3.1.2\",\r\n    \"request\": \"^2.64.0\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"grunt\": \"^0.4.5\",\r\n    \"grunt-pack\": \"0.1.*\",\r\n    \"grunt-aws-lambda\": \"^0.8.0\"\r\n  },\r\n  \"license\": \"ISC\",\r\n  \"bundledDependencies\": [\r\n    \"aws-sdk\",\r\n    \"mysql\",\r\n    \"node-uuid\",\r\n    \"request\"\r\n  ]\r\n}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/comments/171066019","html_url":"https://github.com/Tim-B/grunt-aws-lambda/issues/39#issuecomment-171066019","issue_url":"https://api.github.com/repos/Tim-B/grunt-aws-lambda/issues/39","id":171066019,"user":{"login":"sagivo","id":1484886,"avatar_url":"https://avatars.githubusercontent.com/u/1484886?v=3","gravatar_id":"","url":"https://api.github.com/users/sagivo","html_url":"https://github.com/sagivo","followers_url":"https://api.github.com/users/sagivo/followers","following_url":"https://api.github.com/users/sagivo/following{/other_user}","gists_url":"https://api.github.com/users/sagivo/gists{/gist_id}","starred_url":"https://api.github.com/users/sagivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagivo/subscriptions","organizations_url":"https://api.github.com/users/sagivo/orgs","repos_url":"https://api.github.com/users/sagivo/repos","events_url":"https://api.github.com/users/sagivo/events{/privacy}","received_events_url":"https://api.github.com/users/sagivo/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T21:37:15Z","updated_at":"2016-01-12T21:37:15Z","body":"yep. can verify that this solution works. may close the ticket. "}}