Could not load the configuration file: v is not a function #15781
Unanswered
DopamineDriven
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've followed the steps for using the pnpx @tailwindcss/upgrade@next command and it keeps coming back to the same ambiguous error
Could not load the configuration file: v is not a function
here are my recent bash logs
so at this point I followed the instructions to update my
apps/{chess,chess-v2,web}/src/app/global(s).css
files in each of the three repos within the apps directory (pnpm workspace using turborepo). The first several lines in each of the three root app directory css files all look identical and have identical relative paths to each of their respective configsafter making these updates, I tried again
I decided to look into the source code (specifically the bin file) in the @tailwindcss/upgrade package (
src/index.ts
).however the only configured cli flag options I could find in the file are the following
Any tips on what I could be doing wrong (or not doing right) for these errors to keep occurring?
note: I am using shiki v2+ in the apps/web repo as it handles mdx, syntax highlighting etc
I got the following warning from pnpm when trying to install the
@tailwindcss/upgrade
package as a dev dependency in each of the three repos within apps directory of the monorepo (to see if it might work that way)so I'm a bit lost as to how to proceed
specs
using node
v22.13.1 (npm v11.0.0)
tried using
v20.18.0
to no avail hoping that might do the trickrepo is public facing -- find it here
feedback/advice would be greatly appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions