{"action":"created","issue":{"url":"https://api.github.com/repos/ar90n/serverless-s3-local/issues/47","repository_url":"https://api.github.com/repos/ar90n/serverless-s3-local","labels_url":"https://api.github.com/repos/ar90n/serverless-s3-local/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/ar90n/serverless-s3-local/issues/47/comments","events_url":"https://api.github.com/repos/ar90n/serverless-s3-local/issues/47/events","html_url":"https://github.com/ar90n/serverless-s3-local/issues/47","id":358988420,"node_id":"MDU6SXNzdWUzNTg5ODg0MjA=","number":47,"title":"Issue at startup","user":{"login":"kkogovsek","id":8089644,"node_id":"MDQ6VXNlcjgwODk2NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8089644?v=4","gravatar_id":"","url":"https://api.github.com/users/kkogovsek","html_url":"https://github.com/kkogovsek","followers_url":"https://api.github.com/users/kkogovsek/followers","following_url":"https://api.github.com/users/kkogovsek/following{/other_user}","gists_url":"https://api.github.com/users/kkogovsek/gists{/gist_id}","starred_url":"https://api.github.com/users/kkogovsek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkogovsek/subscriptions","organizations_url":"https://api.github.com/users/kkogovsek/orgs","repos_url":"https://api.github.com/users/kkogovsek/repos","events_url":"https://api.github.com/users/kkogovsek/events{/privacy}","received_events_url":"https://api.github.com/users/kkogovsek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T10:40:27Z","updated_at":"2018-09-11T10:43:10Z","closed_at":null,"author_association":"NONE","body":"Hey I just tried to load local-s3 and I get startup error:\r\n```\r\nclient s3event object\r\nS3 local started ( port:4001 )\r\nWARN: No buckets found to create\r\nerror: [S3rver] uncaughtException: Cannot read property 'then' of null date=Tue Sep 11 2018 12:34:41 GMT+0200 (Cent\r\nral European Summer Time), pid=14708, uid=501, gid=20, cwd=/Users/klemenk/work/tt37.com/client-app, execPath=/Users\r\n/klemenk/.nvm/versions/node/v10.9.0/bin/node, version=v10.9.0, argv=[/Users/klemenk/.nvm/versions/node/v10.9.0/bin/\r\nnode, /Users/klemenk/.nvm/versions/node/v10.9.0/bin/sls, offline, start, --dontPrintOutput], rss=112562176, heapTot\r\nal=84844544, heapUsed=54042744, external=697365, loadavg=[1.44677734375, 1.97412109375, 2.05126953125], uptime=9130\r\n6\r\nTypeError: Cannot read property 'then' of null\r\n    at client.S3rver.run (/Users/klemenk/work/tt37.com/client-app/node_modules/serverless-s3-local/index.js:196:29)\r\n    at Server.server.listen.err (/Users/klemenk/work/tt37.com/client-app/node_modules/s3rver/lib/index.js:36:9)\r\n    at Object.onceWrapper (events.js:273:13)\r\n    at Server.emit (events.js:182:13)\r\n    at Server.EventEmitter.emit (domain.js:442:20)\r\n    at emitListeningNT (net.js:1368:10)\r\n    at process._tickCallback (internal/process/next_tick.js:63:19)\r\n```\r\nMy config looks like:\r\n```\r\nservice: tt37com\r\n\r\nplugins:\r\n  - serverless-offline\r\n  - serverless-s3-local\r\n\r\nprovider:\r\n  name: aws\r\n  runtime: nodejs8.10\r\n\r\nfunctions:\r\n\r\n  deployWebsite:\r\n    handler: lambdas/deployWebsite.lambdaHandler\r\n    memorySize: 512\r\n    timeout: 60\r\n    events:\r\n      - http:\r\n          path: deployWebsite\r\n          method: post\r\n    iamRoleStatements:\r\n      - Effect: Allow\r\n        Action:\r\n          - lambda:*\r\n        Resource: \"*\"\r\n\r\ncustom:\r\n  serverless-offline:\r\n    port: 4000\r\n    resourceRoutes: true\r\n  s3:\r\n    host: 0.0.0.0\r\n    port: 4001\r\n    directory: /tmp\r\n```\r\n\r\nMy environment:\r\n- OS: osx high sierra\r\n- Node version: 10.9\r\n"},"comment":{"url":"https://api.github.com/repos/ar90n/serverless-s3-local/issues/comments/420229962","html_url":"https://github.com/ar90n/serverless-s3-local/issues/47#issuecomment-420229962","issue_url":"https://api.github.com/repos/ar90n/serverless-s3-local/issues/47","id":420229962,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDIyOTk2Mg==","user":{"login":"kkogovsek","id":8089644,"node_id":"MDQ6VXNlcjgwODk2NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8089644?v=4","gravatar_id":"","url":"https://api.github.com/users/kkogovsek","html_url":"https://github.com/kkogovsek","followers_url":"https://api.github.com/users/kkogovsek/followers","following_url":"https://api.github.com/users/kkogovsek/following{/other_user}","gists_url":"https://api.github.com/users/kkogovsek/gists{/gist_id}","starred_url":"https://api.github.com/users/kkogovsek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkogovsek/subscriptions","organizations_url":"https://api.github.com/users/kkogovsek/orgs","repos_url":"https://api.github.com/users/kkogovsek/repos","events_url":"https://api.github.com/users/kkogovsek/events{/privacy}","received_events_url":"https://api.github.com/users/kkogovsek/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T10:43:10Z","updated_at":"2018-09-11T10:43:10Z","author_association":"NONE","body":"I tried using node 8.10 with no success."}}
{"actor":{"display_login":"kkogovsek"}}