Migration angular 14 to 15
abdallahkadour opened this issue · 0 comments
abdallahkadour commented
while migrating from angular 14 to 15 running ng update @angular/core@15 @angular/cli@15 --force
I get the error
Migration failed: Could not find any tsconfig file. Cannot run a migration to cleanup the deprecated
relativeLinkResolution config option
A tsconfig file is available, its content is:
{
"compilerOptions": {
"strict": true,
"allowJs": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"module": "esnext",
"target": "ES2022",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noEmitHelpers": true,
"noEmitOnError": true,
"skipLibCheck": true,
"plugins": [
{
"transform": "@nativescript/webpack/transformers/ns-transform-native-classes",
"type": "raw"
}
],
"types": [
"@types/jest",
"jest",
"node"
],
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"baseUrl": ".",
"paths": {
"@templates/*": [
"~/assets/templates/*"
],
"~/*": [
"src/*"
],
"@/*": [
"src/*"
]
},
"removeComments": false,
"useDefineForClassFields": false
},
"include": [
"src/app/activity.android.ts",
"src/tests/**/*.ts",
"src/**/*.ios.ts",
"src/**/*.android.ts"
, "./application.android.ts" ],
"files": [
"./src/app/activity.android.ts",
"./src/main.ts",
"./references.d.ts",
"./src/polyfills.ts",
"./application.android.ts"
],
"exclude": [
"node_modules",
"platforms",
"e2e"
],
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}
Angular dependecies
"@angular/animations": "^15.2.10",
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/forms": "^15.2.10",
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^15.2.10",
Angular dev dependencies:
"@angular-devkit/build-angular": "^15.2.11",
"@angular/cli": "~15.2.11",
"@angular/compiler-cli": "^15.2.10",