Skip to content

pnpx tailwindcss init -p Cannot find module gen-mapping.umd.js #15363

Answered by RobinMalfait
SolomonLeon asked this question in Help
Discussion options

You must be logged in to vote

Hey!

This looks like it's coming from pnpx and not Tailwind CSS itself (nothing in the stacktrace points to tailwindcss). My assumption is that you will run into this issue with other setups as well if you use pnpx.

I would suggest to try with npx instead.

If you want to use pnpx, I would recommend to clear your pnpm-cache using pnpm store prune (https://pnpm.io/cli/store#prune) and see if that helps.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@akoskm
Comment options

Answer selected by SolomonLeon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #15360 on December 10, 2024 14:00.