This repository has been archived by the owner on May 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 303
ionic build android --prod fail #833
Comments
@zhudms can I ask if you solved this? I'm getting the same error for browser build and can't figure out how to fix it. |
@astec I solved the problem,but actually I don't know how,maybe my problem is didn't set the node.js environment ,I am a complete beginner ,I really don't know it needed. And before I set the environment,I |
The problem is with the "page-name.component.ts" file that is created when you use the "ionic generate page" command. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
i start a new ionic 2 project,when use ionic build android --prod it failed ngc,and if i use ionic build android it success,it completely a new project,i didn't change any code,i don't know why.
What behavior are you expecting?
how can i build --prod success
i tried npm with 4.4.1 it also failed .logs same as below.
Steps to reproduce:
1.
2.
3.
The text was updated successfully, but these errors were encountered: