Error: Unknown object type "asyncfunction" on deployment
Out of the box the deployment currently fails with:
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Creating Stack...
Serverless: Checking Stack create progress...
CloudFormation - CREATE_IN_PROGRESS - AWS::CloudFormation::Stack - gitlab-example-production
CloudFormation - CREATE_IN_PROGRESS - AWS::S3::Bucket - ServerlessDeploymentBucket
CloudFormation - CREATE_IN_PROGRESS - AWS::S3::Bucket - ServerlessDeploymentBucket
CloudFormation - CREATE_COMPLETE - AWS::S3::Bucket - ServerlessDeploymentBucket
CloudFormation - CREATE_IN_PROGRESS - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
CloudFormation - CREATE_IN_PROGRESS - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
CloudFormation - CREATE_COMPLETE - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
CloudFormation - CREATE_COMPLETE - AWS::CloudFormation::Stack - gitlab-example-production
Serverless: Stack create finished...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service gitlab-example.zip file to S3 (39.64 MB)...
Error --------------------------------------------------
Error: Unknown object type "asyncfunction"
at Object._object (/builds/foo/serverless_test/node_modules/object-hash/index.js:218:17)
at Object._function (/builds/foo/serverless_test/node_modules/object-hash/index.js:319:14)
at Object.dispatch (/builds/foo/serverless_test/node_modules/object-hash/index.js:185:30)
at /builds/foo/serverless_test/node_modules/object-hash/index.js:246:18
A quick search indicates probably node/npm/serverless versions being outdated, which is likely related to #11 (closed)