$ ionic cordova build ios
Running app-scripts build: --iscordovaserve --externalIpRequired --nobrowser
[21:34:13] build dev started ...
[21:34:13] clean started ...
[21:34:13] clean finished in less than 1 ms
[21:34:13] copy started ...
[21:34:13] transpile started ...
[21:34:17] transpile finished in 3.77 s
[21:34:17] preprocess started ...
[21:34:17] deeplinks started ...
[21:34:17] deeplinks finished in 31 ms
[21:34:17] preprocess finished in 31 ms
[21:34:17] webpack started ...
[21:34:17] copy finished in 4.04 s
[21:34:27] webpack finished in 10.78 s
[21:34:27] sass started ...
[21:34:29] sass finished in 1.45 s
[21:34:29] postprocess started ...
[21:34:29] postprocess finished in 16 ms
[21:34:29] lint started ...
[21:34:29] build dev finished in 16.09 s
> cordova build ios
✖ Running command - failed!
[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.
[ERROR] An error occurred while running cordova build ios (exit code 1):
You have been opted out of telemetry. To change this, run: cordova telemetry on.
CHCP plugin after prepare hook:
Error: Cannot find module '../plugman/platforms/ios'
I’m using ionic v3
The error occurs when I’m try to add iOS platform to my project. Android platform build successfully.
Thank you!