You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 11, 2022. It is now read-only.
Cannot find module './lib/run', when running ´phonegap run IOS´ #653
Error: Cannot find module './lib/run'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/Users/ignacio/Documents/Projects/kinnecting_app/platforms/ios/cordova/run:23:13)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
Error: /Users/ignacio/Documents/Projects/kinnecting_app/platforms/ios/cordova/run: Command failed with exit code 1
I have just tested this on my machine using a few different versions of node that you described and am unable to reproduce this issue. Can you try removing iOS from your project, phonegap platform rm ios, and then re-adding it, phonegap platform add ios.
If this doesn't resolve your issue, there could be something wrong with your installed phonegap. I would also try reinstalling that as well, npm uninstall -g phonegap, npm install -g phonegap.
Closing this issue as reporter has not responded to requests to help. If you are still experiencing this problem, feel free to re-open the issue and provide us with more details.
Activity
surajpindoria commentedon Oct 17, 2016
Hi @ignacio-chiazzo,
I have just tested this on my machine using a few different versions of node that you described and am unable to reproduce this issue. Can you try removing iOS from your project,
phonegap platform rm ios, and then re-adding it,phonegap platform add ios.If this doesn't resolve your issue, there could be something wrong with your installed
phonegap. I would also try reinstalling that as well,npm uninstall -g phonegap,npm install -g phonegap.filmaj commentedon Apr 21, 2017
Closing this issue as reporter has not responded to requests to help. If you are still experiencing this problem, feel free to re-open the issue and provide us with more details.