Error while building with --prod flag

#1

When running * ionic cordova build android --prod --release * I’m getting the next error:

Error: The platform “—prod” does not appear to have been added to this project.

Note: that’s happening science the last update (3.5.0 etc)

Any suggestions?

#2

Notice that -- is not . Maybe something is going wrong when copy/pasting? Or are you really typing the command by hand? Please show us the whole command line - command input and output.

1 Like
#3

Thanks, you are correct…

1 Like