Add the following to admin.module.ts:
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { AppCommonModule } from '@app/shared/common/app-common.module';
import { UtilsModule } from '@shared/utils/utils.module';
and in the module imports below:
@NgModule({
imports: [
...,
UtilsModule,
AppCommonModule.forRoot(),
CommonModule,
FormsModule,
Update: Creating the entity under the Root menu works fine, so the admin module is probably missing some references...
I'm seeing the same problems even when using the latest version.
eg: The latest version of PartialTemplates.txt contains import { LazyLoadEvent } from 'primeng/public_api';
but it should be import { LazyLoadEvent } from 'primeng/api';
There a number of similar issues. To replicate, create a new entity using the RAD Tool, and verify the resulting client code is broken in ~40 places with errors like:
'sub-header' is not a known element
Can't bind to 'description' since it isn't a known property of 'sub-header'.
Can't bind to 'busyIf' since it isn't a known property of 'div'.
No pipe found with name 'localize'.
Can't bind to 'breadcrumbs' since it isn't a known property of 'sub-header'.
'validation-messages' is not a known element
Did any of the previous posters on this topic resolve the problem?
I'm seeing the same issue:
Pulling zero_host (zero/host:)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
Pulling zero_host (zero/host:)...
ERROR: pull access denied for zero/host, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
This is caused by duplicate keys in an xml languages file.