Skip to content

Error: next.config.js must be one of: serverless, experimental-serverless-trace #81

Closed
@franciscorubin

Description

@franciscorubin

I'm getting the following error on my fresh netlify app:

7:03:03 PM:   Error message
7:03:03 PM:   Error: next.config.js must be one of: serverless, experimental-serverless-trace
7:03:03 PM: ​
7:03:03 PM:   Plugin details
7:03:03 PM:   Package:        @netlify/plugin-nextjs
7:03:03 PM:   Version:        1.0.5
7:03:03 PM:   Repository:     git+https://github.com/netlify/netlify-plugin-nextjs.git
7:03:03 PM:   npm link:       https://www.npmjs.com/package/@netlify/plugin-nextjs
7:03:03 PM:   Report issues:  https://github.com/netlify/netlify-plugin-nextjs/issues
7:03:03 PM: ​
7:03:03 PM:   Error location
7:03:03 PM:   In "onPreBuild" event in "@netlify/plugin-nextjs" from Netlify app
7:03:03 PM:       at onPreBuild (/.netlify/plugins/node_modules/@netlify/plugin-nextjs/index.js:60:16)

I have the following plugins:

7:02:40 PM:    - @netlify/[email protected]
7:02:40 PM:    - [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions