Error while building with --prod flag

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?

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.

2 Likes

Thanks, you are correct…

1 Like