Skip to content

TypeError: Object.entries(...).flatMap is not a function #1

@cpursley

Description

@cpursley

Getting this when trying to run:

$ yarn dev
yarn run v1.22.5
warning package.json: No license field
$ next dev
ready - started server on http://localhost:3000
error - ./src/css/tailwind.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/next/dist/compiled/postcss-loader/cjs.js??ref--5-oneOf-6-2!./src/css/tailwind.css)
TypeError: Object.entries(...).flatMap is not a function
    at Array.forEach (<anonymous>)
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry

event - build page: /next/dist/pages/_error
wait  - compiling...
error - ./src/css/tailwind.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/next/dist/compiled/postcss-loader/cjs.js??ref--5-oneOf-6-2!./src/css/tailwind.css)
TypeError: getProcessedPlugins is not a function
^C

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