Error: ENOENT: no such file or directory stat


#1

Hi,

We have taken over a project from another developer and I have run the following commands and the project compiles and builds ok. However when I run it. The emulator on the mac launches after about a minute or so I get the error on the last line. Error: ENOENT: no such file or directory, stat ‘/Users/Kalpesh/Library/Logs/CoreSimulator/8C8AB237-4352-493D-94F5-652B1770B2E4/system.log’

I have done, npm install -g cordova, cd heal, ionic platform remove iOS, ionic platform add iOS, ionic build iOS and when I run ionic emulate iOS I get the error above.

Thanks for your help.
Regards
Kal

** BUILD SUCCEEDED **

No target specified for emulator. Deploying to iPhone-6s-Plus, 9.2 simulator
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):
Invalid device state
Error: ENOENT: no such file or directory, stat ‘/Users/Kalpesh/Library/Logs/CoreSimulator/8C8AB237-4352-493D-94F5-652B1770B2E4/system.log’


#2

hi, I have exactly the same error - did you manage to resolve it?


#3

I have the same issue.


#4

Did you solve it? I’m really having trouble.