After tns migrate
preview/build/run fail with ERROR in The Angular Compiler requires TypeScript >=3.1.1 and <3.3.0 but 3.4.5 was found instead.
#4874
Labels
Milestone
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
After using
tns migrate
for a project with Angular 7, almost all of the dependencies are updated except@angular/compiler-cli
and@ngtools/webpack
. So trying to build/run the app fails with error:To Reproduce
Expected behavior
After migrate, the project should build successfully.
Additional context
WORKAROUND:
npm i --save-dev @angular/compiler-cli@~8.0
The text was updated successfully, but these errors were encountered: