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

RangeError: Maximum call stack size exceeded (on v0.1.13) #173

Closed
prbroadfoot opened this issue Mar 27, 2021 · 2 comments
Closed

RangeError: Maximum call stack size exceeded (on v0.1.13) #173

prbroadfoot opened this issue Mar 27, 2021 · 2 comments

Comments

@prbroadfoot
Copy link

What version of @tailwindcss/jit are you using?

0.1.13

What version of Node.js are you using?

15.11.0

What browser are you using?

N/A

What operating system are you using?

Arch

Reproduction repository

https://github.com/prbroadfoot/tailwind-jit-error-reproduction

Apologies if I'm doing something silly because I don't have experience with Tailwind and not a lot with npm either.

Here's what I did to reproduce the error with the repository I provided:

npm install
TAILWIND_MODE=build npx postcss styles.css -o main.css --verbose

RangeError: Maximum call stack size exceeded
    at candidatePermutations (/home/paul/Desktop/tailwind-jit-error-reproduction/node_modules/@tailwindcss/jit/src/lib/generateRules.js:19:32)
    at candidatePermutations.next (<anonymous>)
    at candidatePermutations (/home/paul/Desktop/tailwind-jit-error-reproduction/node_modules/@tailwindcss/jit/src/lib/generateRules.js:41:10)
    at candidatePermutations.next (<anonymous>)
    at candidatePermutations (/home/paul/Desktop/tailwind-jit-error-reproduction/node_modules/@tailwindcss/jit/src/lib/generateRules.js:41:10)
    at candidatePermutations.next (<anonymous>)
    at candidatePermutations (/home/paul/Desktop/tailwind-jit-error-reproduction/node_modules/@tailwindcss/jit/src/lib/generateRules.js:41:10)
    at candidatePermutations.next (<anonymous>)
    at candidatePermutations (/home/paul/Desktop/tailwind-jit-error-reproduction/node_modules/@tailwindcss/jit/src/lib/generateRules.js:41:10)
    at candidatePermutations.next (<anonymous>)
@adamwathan
Copy link
Member

Thanks, can you test with v0.1.14? I published a fix for a similar issue that might also fix this one 👍🏻

@prbroadfoot
Copy link
Author

Thanks, bumping up to v0.1.14 fixed the issue in the reproduction repo and also my original project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants