I'm working on firebase functions with typescript and this error appears in the console while running tsc . -watch
:
[12:19:41 PM] Starting compilation in watch mode...
error TS6231: Could not resolve the path '' with the extensions: '.ts', '.tsx', '.d.ts'.
The file is in the program because:
Root file specified for compilation
[12:19:45 PM] Found 1 error. Watching for file changes.
I have no idea where this might be arising from. I haven't changed anything since the last time this was working.
Any solutions?
I got this error when I used tsc init
instead of tsc --init
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With