m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

ios simulator not open #118

Closed yokins closed 4 years ago

yokins commented 4 years ago

env:

issue: when run npm run cordova-serve-ios or npm run cordova-serve-android, just build vue and start serve. the simulator not open with no any warning message or error message.

m0dch3n commented 4 years ago

can you try if cordova run ios inside ./src-cordova is working and starting the IOS simulator ? If it's not starting, you should contact and see within the cordova community, why it's not working

yokins commented 4 years ago

in ./src-cordova run cordova run ios, the simulator can start success. @m0dch3n

m0dch3n commented 4 years ago

ok, can you check if yarn cordova-serve-ios is executing cordova run ios

yokins commented 4 years ago

just start vue serve, not run cordova run ios

yokins commented 4 years ago

resolved!just install yarn, I don't know why yarn has anything to do with this plugin.

yokins commented 4 years ago

@m0dch3n My mistake. I should have used NPM,after install yarn ,the command is work。