Closed biondiBagasta closed 1 year ago
Hey, Hard to tell without a minimal reproduction, but I can speculate that you're running standalone application and the existing ng-add schematic does not support it.
I'm not sure if you're still having this problem, but i had this problem with another library and fixed it by temporarily changing
src/main.ts
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
and
app/app.module.ts
import {NgModule} from '@angular/core';
@NgModule({
declarations: [
],
imports: [
],
providers: [
],
bootstrap: []
})
export class AppModule { }
Then run the schematic again, see what the changes are and manually place the changes in your original files.
Again, i didn't have this problem with this particular library, i experienced it with another one. :)
Hi @devoto13! I'm updating project that I work on angular to v17, how do I update the package json to use master branch .