Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Issue Description
I believe this issue may have something to do with:#11370
This was working in version 8.36.0
This is the line that I think is breaking things
Here is my stacktrace:
npm run lint> monorepo@0.0.1 lint> turbo run lintturbo 2.5.4• Packages in scope: @configs/eslint-config, @configs/ts-config, @configs/vite-config, @utils/type-utils, monorepo-cdk, node-server• Running lint in 6 packages• Remote caching disabledmonorepo-cdk:lint: cache miss, executing c976c864fcf47ec0node-server:lint: cache miss, executing cf188dbd4300770emonorepo-cdk:lint: node-server:lint: node-server:lint: node-server:lint: > node-server@0.0.1 lintnode-server:lint: > eslint srcnode-server:lint: monorepo-cdk:lint: monorepo-cdk:lint: > monorepo-cdk@0.0.1 lintmonorepo-cdk:lint: > eslint srcmonorepo-cdk:lint: node-server:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/apps/node-server/src/index.tsnode-server:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/apps/node-server/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/apps/node-server/Projects/monorepo/src/apps/node-server/tsconfig.json'node-server:lint: node-server:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/apps/node-server/src/vite-env.d.tsnode-server:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/apps/node-server/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/apps/node-server/Projects/monorepo/src/apps/node-server/tsconfig.json'node-server:lint: node-server:lint: ✖ 2 problems (2 errors, 0 warnings)node-server:lint: monorepo-cdk:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/src/constants/backend.tsmonorepo-cdk:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json'monorepo-cdk:lint: monorepo-cdk:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/src/index.tsmonorepo-cdk:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json'monorepo-cdk:lint: monorepo-cdk:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/src/stacks.tsmonorepo-cdk:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json'monorepo-cdk:lint: monorepo-cdk:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/src/stacks/bootstrap/index.tsmonorepo-cdk:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json'monorepo-cdk:lint: monorepo-cdk:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/src/stacks/my-stack/index.tsmonorepo-cdk:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json'monorepo-cdk:lint: monorepo-cdk:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/src/types/stack.tsmonorepo-cdk:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json'monorepo-cdk:lint: monorepo-cdk:lint: /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/src/utils/standard-backend.tsmonorepo-cdk:lint: 0:0 error Parsing error: error TS5012: Cannot read file 'Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json': ENOENT: no such file or directory, open '/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk/Projects/monorepo/src/cdk/monorepo-cdk/tsconfig.json'monorepo-cdk:lint: monorepo-cdk:lint: ✖ 7 problems (7 errors, 0 warnings)monorepo-cdk:lint: npm error Lifecycle script `lint` failed with error:npm error code 1npm error path /Users/matthewlin/Desktop/Personal Projects/monorepo/src/apps/node-servernpm error Lifecycle script `lint` failed with error:npm error workspace node-server@0.0.1npm error location /Users/matthewlin/Desktop/Personal Projects/monorepo/src/apps/node-servernpm error command failednpm error command sh -c eslint srcnpm error code 1npm error path /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdknpm error workspace monorepo-cdk@0.0.1npm error location /Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdknpm error command failednpm error command sh -c eslint srcmonorepo-cdk:lint: ERROR: command finished with error: command (/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk) /Users/matthewlin/.nvm/versions/node/v22.14.0/bin/npm run lint exited (1)node-server:lint: ERROR: command finished with error: command (/Users/matthewlin/Desktop/Personal Projects/monorepo/src/apps/node-server) /Users/matthewlin/.nvm/versions/node/v22.14.0/bin/npm run lint exited (1)monorepo-cdk#lint: command (/Users/matthewlin/Desktop/Personal Projects/monorepo/src/cdk/monorepo-cdk) /Users/matthewlin/.nvm/versions/node/v22.14.0/bin/npm run lint exited (1)node-server#lint: command (/Users/matthewlin/Desktop/Personal Projects/monorepo/src/apps/node-server) /Users/matthewlin/.nvm/versions/node/v22.14.0/bin/npm run lint exited (1)
My
Reproduction Repository Link
https://github.com/matthew-plusprogramming/monorepo/tree/broken-version/packages/eslint-config
Repro Steps
- clone the repo
- Switch to the
broken-version
branch npm install
npm run lint
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 8.37.0 |
@typescript-eslint/parser | 8.37.0 |
TypeScript | 5.8.3 |
ESLint | 9.31.0 |
node | 22.14.0 |