ionic-team / ionic-team/ionic-cli
Have to remove/add platform on git pull
- 主要语言
- TypeScript
- 星标
- 2k
- 派生
- 682
- PR 合并指标
- 30 天内没有已合并 PR
描述
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).
贡献指南
评估
这个 Issue 还没有评估数据。