dpa99c / cordova-custom-config

Cordova/Phonegap plugin to update platform configuration files based on preferences and config-file data defined in config.xml
317 stars 85 forks source link

Cannot find module 'lodash' #120

Closed listepo closed 7 years ago

listepo commented 7 years ago

In the Ionic Package I have error: Error: Error loading dependencies - ensure the plugin has been installed via cordova-fetch or run 'npm install cordova-custom-config': Cannot find module 'lodash'

global packages:

    @ionic/cli-utils : 1.5.0
    Ionic CLI        : 3.5.0

System:

    Node       : v7.7.4
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b
    ios-deploy : 1.9.1
    ios-sim    : 6.0.0
    npm        : 5.3.0
dpa99c commented 7 years ago

Check that you have cordova@7 installed with cordova -v: cordova-custom-config@4 relies on cordova-fetch for installation of dependencies - see the installation section for details.

dpa99c commented 7 years ago

Closed due to no response from OP