Open crimsonhawk47 opened 1 year ago
I actually don't do any development on windows so I am not too familiar with how it goes about emulating unix file system resolution (or if it does).
Looking at the error, it seems like it might be an error occurring in Tailwind's runtime.
You could debug by seeing if you can get the project watching using the standard tailwind JIT process and go from there.
If it is an issue with this project, I am definitely interested in figuring out how to fix it; please let me know what you find!
FYI I hit a similar issue trying to integrate this in an existing shadow-cljs project on macOS:
Rebuilding...
Error: EPERM: operation not permitted, scandir '/Library/Trial'
at Object.readdirSync (node:fs:1515:26)
at readdirWithFileTypes (/Users/mu/Repos/.../node_modules/@nodelib/fs.scandir/out/providers/sync.js:16:33)
at Object.read (/Users/mu/Repos/.../node_modules/@nodelib/fs.scandir/out/providers/sync.js:10:16)
at SyncReader.scandirSync [as _scandir] (/Users/mu/Repos/.../node_modules/@nodelib/fs.scandir/out/index.js:18:17)
at SyncReader._handleDirectory (/Users/mu/Repos/.../node_modules/@nodelib/fs.walk/out/readers/sync.js:28:34)
at SyncReader._handleQueue (/Users/mu/Repos/.../node_modules/@nodelib/fs.walk/out/readers/sync.js:23:18)
at SyncReader.read (/Users/mu/Repos/.../node_modules/@nodelib/fs.walk/out/readers/sync.js:15:14)
at SyncProvider.read (/Users/mu/Repos/.../node_modules/@nodelib/fs.walk/out/providers/sync.js:11:29)
at ReaderSync.walkSync [as _walkSync] (/Users/mu/Repos/.../node_modules/@nodelib/fs.walk/out/index.js:20:21)
at ReaderSync.dynamic (/Users/mu/Repos/.../node_modules/fast-glob/out/readers/sync.js:13:21) {
errno: -1,
code: 'EPERM',
syscall: 'scandir',
path: '/Library/Trial'
}
Is there a setting somewhere I'm supposed to override? Why would these need to scan documents and settings?
shadow-cljs.edn