Skip to content

Configuration error at root: unrecognized property 'myNextApp' #6

Description

@dmitrii-esin

Hi!
I'm trying to use this example, but I've faced with the error: "Configuration error at root: unrecognized property 'myNextApp'

image

How can I fix that?
Thanks in advance.

p.s. my serverless file:

service: nextjs-with-aws-serverless
frameworkVersion: ">=1.71.1"
useDotenv: true
configValidationMode: error

provider:
    name: aws
    runtime: nodejs12.x
    # stage: dev
    profile: myProfile

myNextApp:
    component: serverless-next.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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