Issue
I am trying to build an angular project on server (Centos 7).I get this error :
"ERROR in src/app/shared/Entities/userDefinedFields.entity.ts:1:43 - error TS2307: Cannot find module './UserDefinedFieldGroup.entity'.
1 import {UserDefinedFieldGroupEntity} from './UserDefinedFieldGroup.entity';"
When i do this locally (windows 10) it works fine and it creates the dist folder.
For both operations i am using :
node -v ==> v10.23.0
npm -v ==> 6.14.8
ng --version ==> CLI: 9.1.12
Solution
Linux and windows differ in filesystem case-sensitivity. Make sure the filename passed exactly matches the casing of the file.
Answered By - Andrew Gillis Answer Checked By - Robin (WPSolving Admin)