Closed ratt closed 7 years ago
Can you run "npm list" in your project and post a gist of the output? What version of npm are you using? glob is a dependency of shelljs so it should be available.
On Wed, Feb 1, 2017 at 1:42 AM, Jarratt notifications@github.com wrote:
cordova plugin add cordova-plugin-cocoapod-support --save Fetching plugin "cordova-plugin-cocoapod-support" via npm Installing "cordova-plugin-cocoapod-support" for ios Saved plugin info for "cordova-plugin-cocoapod-support" to config.xml ~/app$ cordova build ios Error: Cannot find module 'glob'
Any ideas, I also installed npm -g install glob, still the same issue
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/blakgeek/cordova-plugin-cocoapods-support/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyU3mZ_rAeoFbGGENtlrytga01Q4w0Fks5rYClUgaJpZM4LziiB .
--
Want to waste some time or challenge your mental skills? Check out my games on www.bggamecentral.com or download them from the App Stores https://itunes.apple.com/us/artist/henry-lawton/id895605107 [image: https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1] https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1 Get it on Google https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png
npm --v == 3.10.7 node v6.6.0
This is a much older project not ionic so there is actually no local node modules for this project. I manually installed shelljs and restarted the console, it builds correctly now thanks
cordova plugin add cordova-plugin-cocoapod-support --save Fetching plugin "cordova-plugin-cocoapod-support" via npm Installing "cordova-plugin-cocoapod-support" for ios Saved plugin info for "cordova-plugin-cocoapod-support" to config.xml ~/app$ cordova build ios Error: Cannot find module 'glob'
Any ideas, I also installed npm -g install glob, still the same issue