Angular 9 is not working after 6.0.0 (ivy-ngcc)
progmancod opened this issue · comments
Bug:
No suitable injection token for parameter 'changeDetectorRef' of class 'MccColorPickerCollectionComponent'.
no type or decorator
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! supp-administrativo-frontend@0.0.1 postinstall: ivy-ngcc
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the supp-administrativo-frontend@0.0.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Steps to reproduce the behavior:
npm install
ivy-ngcc
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"incremental": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"importHelpers": false,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": false,
"strictInjectionParameters": false
}
}
works after angular 9.0.1