Skip to content

Deploy doesn't work #4

@galibov

Description

@galibov

Hi, I tried deploy your example, and get this errors:

  1. First I get "bucketname already exist" I changed
    ` before:deploy:deploy:
    • aws s3 cp --recursive ./.nuxt/dist/client/ s3://nuxt-serverless-at-edge/_nuxt/ --cache-control "max-age=31536000,public,immutable"
    • aws s3 cp --recursive ./static/ s3://nuxt-serverless-at-edge/ --exclude "README.md" --cache-control "max-age=31536000,public,immutable"`

To this:

after:deploy:deploy: - aws s3 cp --recursive ./.nuxt/dist/client/ s3://nuxt-serverless-at-edge/_nuxt/ --cache-control "max-age=31536000,public,immutable" - aws s3 cp --recursive ./static/ s3://nuxt-serverless-at-edge/ --exclude "README.md" --cache-control "max-age=31536000,public,immutable"

  1. After fixed first error i get this:
    ERROR

The request could not be satisfied.

The Lambda function returned an invalid request or response to CloudFront.
Generated by cloudfront (CloudFront)

Please, can you update configuration? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions