-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[ ] 4.x
I'm submitting a ... (check one with "x")
[ ] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Module not found: Error: Can't resolve './app.module.ngfactory'
using description file: E:\Working Project\test\package.json (relative path: ./src/app)
Field 'browser' doesn't contain a valid alias configuration
after using description file: E:\Working Project\test\package.json (relative path: ./src/app)
using description file: E:\Working Project\test\package.json (relative path: ./src/app/app.module.ngfactory)
no extension
Field 'browser' doesn't contain a valid alias configuration
E:\Working Project\test\src\app\app.module.ngfactory doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
E:\Working Project\test\src\app\app.module.ngfactory.ts doesn't exist
.js
Expected behavior:
should build as per info
Steps to reproduce:
Related code:
insert short code snippets here
Other information:
this error comes with production tag only.
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here
@ionic/cli-utils : 1.17.0
ionic (Ionic CLI) : 3.17.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.0.1-201711071727
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.8.0-201711062059
System:
Android SDK Tools : 25.2.5
Node : v8.9.0
npm : 5.5.1
OS : Windows 10