Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

production build fails #1

@philhug

Description

@philhug

npm run build --prod results in:

[10:06:53]  typescript error 
            Type LoginPage in /home/user/dev/ofm/ofmErrorReportingSystem/src/pages/login/login.ts is part of the 
            declarations of 2 modules: AppModule in /home/user/dev/ofm/ofmErrorReportingSystem/src/app/app.module.ts and 
            LoginPageModule in /home/user/dev/ofm/ofmErrorReportingSystem/src/pages/login/login.module.ts! Please 
            consider moving LoginPage in /home/user/dev/ofm/ofmErrorReportingSystem/src/pages/login/login.ts to a higher 
            module that imports AppModule in /home/user/dev/ofm/ofmErrorReportingSystem/src/app/app.module.ts and 
            LoginPageModule in /home/user/dev/ofm/ofmErrorReportingSystem/src/pages/login/login.module.ts. You can also 
            create a new NgModule that exports and includes LoginPage in 
            /home/user/dev/ofm/ofmErrorReportingSystem/src/pages/login/login.ts then import that NgModule in AppModule 
            in /home/user/dev/ofm/ofmErrorReportingSystem/src/app/app.module.ts and LoginPageModule in 
            /home/user/dev/ofm/ofmErrorReportingSystem/src/pages/login/login.module.ts. 

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions