ionic-team / ionic-team/ionic-cli
Have to remove/add platform on git pull
- Lingua principale
- TypeScript
- Stelle
- 2k
- Fork
- 682
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Every time someone on our team pulls from our project git repo, `ionic build ios` starts throwing `Error: Cannot find module 'cordova-common'` errors. The fix seems to be `ionic platform remove ios && ionic platform add ios`. We've tried committing the resulting changes, but the next time someone pulls, the error comes back on their machine. I even tried a completely fresh Mac OS install with latest versions of all dependencies; both `ionic build ios` and `ionic emulate ios` failed until ios was removed/added back.
Is there something obvious about .gitignore, cordova, npm, or other best practices that I'm missing? It doesn't look like any of the paths are hardcoded or anything weird like that (which I've seen in some platforms/package managers, which required silly hooks in the repo to avoid).
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.