Has anyone had and resolved this error with a Tailwind Project

  • file://tailwind_theme/tailwind.css - Error writting to file: Error: EINVAL: invalid argument, mkdir '\tailwind_theme\tailwind.css'

Irony is that the file does get created but there is something not quite right.

@Dom looks like an issue with the project path. Where in the filesystem is the project located?

The project was / is in a folder just off the root of one of the ssd data drives in my machine. I did a number of searches of the error and their appeared to be some consensus that in all likelihood the issue would probably lie in the .npmrc file.

In my case that had a dynamic reference which I changed to a hardcoded one and the error did go. The real proof as to whether that is indeed the case will come when I start my next project.

2 Likes