Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Vite: Maximum call stack size exceeded #29

Closed
@richardtallent

Description

@richardtallent

Looking forward to playing with this! Didn't get far today, it bailed when loading the first page under vite:

Unknown error from PostCSS plugin. Your current PostCSS version is 8.2.6, but autoprefixer uses 7.0.35. Perhaps this is the 
source of the error below.
2:31:45 PM [vite] Internal server error: Maximum call stack size exceeded
  Plugin: vite:css
  File: C:/project-path/src/styles/base.css
      at Function.keys (<anonymous>)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:22:42)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:38:17)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:38:17)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:38:17)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:38:17)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:38:17)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:38:17)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:38:17)
      at _clone (C:\project-path\node_modules\autoprefixer\lib\prefixer.js:38:17)

The base.css file contains only the three main @apply statements for tailwind:

@tailwind base;
@tailwind components;
@tailwind utilities;

Here's my tailwind.config.js file, nothing special:

module.exports = {
	purge: ["./index.html", "./src/**/*.{vue,js,ts}"],
	darkMode: "class",
	theme: {
		extend: {},
	},
	variants: {
		extend: {},
	},
	plugins: [],
}

I'm using vite 2.1.0 with vue 3.0.7.

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