bahmutov / bahmutov/cypress-split

Error: File '../../tsconfig.base' not found

Open
#271 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
285
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I started getting this error after bumping the version from `1.18.5` to `1.23.0`. It seems like it's coming from `find-cypress-specs` but I couldn't pinpoint it.

```
Error: File '../../tsconfig.base' not found.
at je (/builds/node_modules/get-tsconfig/dist/index.cjs:3:9102)
at te (/builds/node_modules/get-tsconfig/dist/index.cjs:3:10066)
at ie (/builds/node_modules/get-tsconfig/dist/index.cjs:3:10781)
at Object.$e [as getTsconfig] (/builds/node_modules/get-tsconfig/dist/index.cjs:3:10886)
at Object. (/builds/node_modules/tsx/dist/cjs/index.cjs:1:726)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/builds/node_modules/find-cypress-specs/src/index.js:19:1)
at Module._compile (node:internal/modules/cjs/loader:[125](https://xxx/-/jobs/203594291#L125)4:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/builds/node_modules/cypress-split/src/parse-inputs.js:4:22)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:[130](https://xxx/-/jobs/203594291#L130)8:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported CI failure and inspect find-cypress-specs/src/index.js and cypress-split/src/parse-inputs.js, where the stack trace enters the affected dependencies. Compare behavior between versions 1.18.5 and 1.23.0, then verify that the Cypress setup completes without the missing ../../tsconfig.base error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript, typescript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.