Project was built on Ionic 1.
Mistakenly updated something (dont remember what) on console.
Now when trying to:
ionic cordova build ios
in project folder it shows me this:
sudo ionic cordova build ios
[WARN] Detected @ionic/cli-plugin-cordova in your package.json.
As of CLI 3.8, it is no longer needed. You can uninstall it:
npm uninstall -D @ionic/cli-plugin-cordova
[WARN] Detected @ionic/cli-plugin-ionic1 in your package.json.
As of CLI 3.8, it is no longer needed. You can uninstall it:
npm uninstall -D @ionic/cli-plugin-ionic1
[WARN] Detected @ionic/cli-plugin-gulp in your package.json.
As of CLI 3.8, it is no longer needed. You can uninstall it:
npm uninstall -D @ionic/cli-plugin-gulp
[WARN] Not performing Ionic build for project type: ionic1.
> cordova build ios
Error: doc.find is not a function
[ERROR] An error occurred while running cordova build ios (exit code 1).
Any ideas would be appreciated