Build Failed From First Time User

I had the error like this. I don’t know why. Anyone can give me some advice?

$ npm run build
npm info it worked if it ends with ok
npm info using npm@5.3.0
npm info using node@v8.2.1
npm info lifecycle IonicTestApp@0.0.1~prebuild: IonicTestApp@0.0.1
npm info lifecycle IonicTestApp@0.0.1~build: IonicTestApp@0.0.1

IonicTestApp@0.0.1 build /usr/src/app
ionic-app-scripts build

[02:39:46] ionic-app-scripts 3.1.8
[02:39:46] build dev started …
[02:39:46] clean started …
[02:39:46] clean finished in 2 ms
[02:39:46] copy started …
[02:39:46] deeplinks started …
[02:39:46] deeplinks finished in 297 ms
[02:39:46] transpile started …
[02:39:53] template error, “/usr/src/app/src/app/app.html”: Error: ENOENT: no such file or directory, open
’/usr/src/app/src/app/app.html’
[02:39:54] typescript: src/app/app.component.ts, line: 6
Cannot find module ‘…/pages/home/home’.

   L6:  import { HomePage } from '../pages/home/home';
   L7:  import { PropDetailPage } from '../pages/prop-detail/prop-detail';

[02:39:54] typescript: src/app/app.component.ts, line: 7
Cannot find module ‘…/pages/prop-detail/prop-detail’.

   L6:  import { HomePage } from '../pages/home/home';
   L7:  import { PropDetailPage } from '../pages/prop-detail/prop-detail';
   L8:  import { MapSearchPage } from '../pages/map-search/map-search';

[02:39:54] typescript: src/app/app.component.ts, line: 8
Cannot find module ‘…/pages/map-search/map-search’.

   L7:  import { PropDetailPage } from '../pages/prop-detail/prop-detail';
   L8:  import { MapSearchPage } from '../pages/map-search/map-search';

[02:39:54] typescript: src/app/app.component.ts, line: 10
Cannot find module ‘…/pages/loading/loading’.

  L10:  import { LoadingPage } from '../pages/loading/loading';

[02:39:54] typescript: src/app/app.module.ts, line: 21
Cannot find module ‘…/pages/home/home’.

What does the beginning of your app.component.ts look like? More directly, it looks to me like your path to app.html is wrong. Are you using a static path or trying to use a relative path?