Ionic emulate ios error from terminal

** BUILD SUCCEEDED **

Error: Cannot read property ‘replace’ of undefined

im run this code from terminal ionic emulate ios to run to emulator but i cant . how to fix thanks.

can you show your code where it has error? it says from the word “replace”…