Skip to content

Experimental: Deprecated folder mapping #31665

@callumok2004

Description

@callumok2004

What version of Next.js are you using?

12.0.4

What version of Node.js are you using?

16.13.0

What browser are you using?

Chrome

What operating system are you using?

Windows 11

How are you deploying your application?

Development Server | yarn dev

Describe the Bug

When I start the development server, I am instantly faced with this error.
image

Expected Behavior

There should be no errors.

To Reproduce

Dependencies

    "next": "12.0.4",
    "react": "^beta",
    "react-dom": "^beta",
    "sass": "^1.43.4"

Config

{
  swcMinify: true,
  reactStrictMode: true,
  compress: true,
  experimental: {
    concurrentFeatures: true,
    serverComponents: true,
    reactRoot: true
  }
}

Folder layout
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions