π Search Terms
"tsc --watch", "fanotify_mark", "failed: no such device"
π Version & Regression Information
- This changed between versions 6.0.3 and 7.0.1-rc
β― Playground Link
No response
π» Code
Setup reproduction project:
npm init -y
npm i typescript
npx tsc --watch index.ts
Error occurs regardless of code, this is the code I used:
Here's a copy of the project: Reproduction.zip
π Actual behavior
Typescript compiles files once, but does not react to changes. Instead an error message is printed to console.
failed to watch directory /mnt/solid/Code/Experiment/Reproduction: fanotify_mark on '/mnt/solid/Code/Experiment/Reproduction' failed: no such device
OS: Linux ChodbaU 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Filesystem: NTFS, loaded using fuseblk
π Expected behavior
Typescript should react to file changes
Additional information about the issue
Everything works on my primary partition, which is ext3. I have encountered this error when upgrading my project to Typescript 7. I have verified that it is not an issue with my project by creating a simpler example.
One issue is relevant: #63646. I believe this is not a duplicate for the following reasons:
- they also get a
fanotify_mark error, but a different error message (operation not supported vs no such device)
- they get their error in Docker while I encountered it on bare metal
π Search Terms
"tsc --watch", "fanotify_mark", "failed: no such device"
π Version & Regression Information
β― Playground Link
No response
π» Code
Setup reproduction project:
Error occurs regardless of code, this is the code I used:
Here's a copy of the project: Reproduction.zip
π Actual behavior
Typescript compiles files once, but does not react to changes. Instead an error message is printed to console.
OS:
Linux ChodbaU 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/LinuxFilesystem: NTFS, loaded using fuseblk
π Expected behavior
Typescript should react to file changes
Additional information about the issue
Everything works on my primary partition, which is ext3. I have encountered this error when upgrading my project to Typescript 7. I have verified that it is not an issue with my project by creating a simpler example.
One issue is relevant: #63646. I believe this is not a duplicate for the following reasons:
fanotify_markerror, but a different error message (operation not supportedvsno such device)