I was having the same issue as well, there's already tailwind in my package.json but I still not able to install. I've tried reinstall npm and node but still keep encountering this problem.