[Turborepo] TypeError: Cannot read properties of undefined (reading 'push')

www:dev: TypeError: Cannot read properties of undefined (reading 'push')
www:dev: at writeConfigurationDefaults
www:dev: TypeError: Cannot read properties of undefined (reading 'push')
www:dev: at writeConfigurationDefaults
I'm not sure what's causing this error... Using Turborepo. apps/www/tsconfig,json
{
"extends": "@repo/typescript-config/tsconfig.nextjs.json",
}
{
"extends": "@repo/typescript-config/tsconfig.nextjs.json",
}
apps/www/package,json
{
"devDependencies": {
"@repo/typescript-config": "*",
}
}
{
"devDependencies": {
"@repo/typescript-config": "*",
}
}
packages/typescript-config/package,json
{
"name": "@repo/typescript-config",
"version": "0.0.0",
"private": true
}
{
"name": "@repo/typescript-config",
"version": "0.0.0",
"private": true
}
packages/typescript-config/tsconfig.nextjs,json
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Next.js",
"extends": "./tsconfig.base.json",
"compilerOptions": {
/* Language compilation options */
"module": "ESNext",
"moduleDetection": "force",
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,

/* Path aliases */
"baseUrl": ".",
"paths": {
"~/*": ["./src*"]
},

/* Other options */
"plugins": [{ "name": "next"}],
},
"include": [
".eslintrc.cjs",
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
"**/*.cjs",
"**/*.js",
".next/types/**/*.ts"
],
"exclude": ["node_modules"]
}
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Next.js",
"extends": "./tsconfig.base.json",
"compilerOptions": {
/* Language compilation options */
"module": "ESNext",
"moduleDetection": "force",
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,

/* Path aliases */
"baseUrl": ".",
"paths": {
"~/*": ["./src*"]
},

/* Other options */
"plugins": [{ "name": "next"}],
},
"include": [
".eslintrc.cjs",
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
"**/*.cjs",
"**/*.js",
".next/types/**/*.ts"
],
"exclude": ["node_modules"]
}
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server