Hi
I am using nrwl/nx in my angular application. My angular application contains 5 applications and 6 libraries. It is a big enterprise application.
I am using kendo libraries for angular.
The project can be served without any error
npx nx serve master
master is the starting point . it is angular application that responsible for routing and has main menu component.
As I Mentioned, I can serve the application without any errors. So I can test it localy without any problem.
The problems comes when I decided to package the project in order to deply it to my web server.Here comes the problem
I used this command to build my project
nx run master:build:production
I got many errors like thises:
'kendo-textbox' is not a known element,
'kendo-formfield' is not a known element:
1. If 'kendo-formfield' is an Angular component, then verify that it is part of this module.
2. If 'kendo-formfield' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
It seems that the compiler cannot identifies the kendo libriries when building the project for deployment.
Has any one have suggestions, what could be the reason for this error?
Thanks