cypress: Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
Current behavior
After upgrade to 6.8.0 it prints in console every time this:
Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
Desired behavior
Fix it. But Why?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 15
- Comments: 15 (6 by maintainers)
Any update how soon this will be fixed ?
it’s been 3 years and no applicable solution?
@emilyrohrbough yes I would! Thank you.
Can’t you just add this to your tsconfig.json:
That was the fix for me.
Note that baseUrl in TypeScript and Cypress are completely different unrelated things.
Hi @kel-si, are you still interested in picking up this ticket? If not we’ll assign it elsewhere 😃
I am going to close this issue as it will be resolved with Cypress 15, which is targeted for early July 2025.
I added baseUrl to compilerOptions in tsconfig.json and the issue I encountered disappeared. Thanks!
I have this
tsconfig.jsonin cypress root dir: