Reputation: 15
In terminal when I run the following line I get an error message. Can someone please explain my error to me and tell me how I can finally emulate my react native app on ios?
npm run ios
pm ERR! path /Users/(me)/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/(me)/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoentnpm ERR! A complete log of this run can be found in:
npm ERR! /Users/(me)/.npm/_logs/2018-12-23T07_08_01_594Z-debug.log
Upvotes: 1
Views: 74
Reputation: 84
clean build and then Use this command for run on ios
=> react-native run-ios
Upvotes: 1