Comments (3)
I'm not able to reproduce these issues either on Windows 10/Android or OSX 10.11/iOS+Android. What platform are you encountering this on?
cordova-custom-config: Error updating config for platform 'android': _.indexBy is not a function
cordova-custom-config: Error updating config for platform 'ios': _.indexBy is not a function
Looks like the lodash
module is not being loaded for some reason, hence line 100 is raising this error. Check that lodash
module is present: npm list lodash
. If not, npm install lodash
.
Error: Expected "/* Begin ", "/* End ", """ or [A-Za-z0-9_.] but "<" found.
Appears to be a problem with the regular expression on line 332 which is odd because it seems perfectly valid.
from cordova-custom-config.
Runnnig npm install
at <projectfolder>/plugins/cordova-custom-config
solved the issues above. But why do i have to run npm install
manually?
from cordova-custom-config.
On installing the plugin, it should automatically satisfy its dependencies via an after_install_plugin
hook in the config.xml which invokes a script to resolve the npm dependencies.
My suggestion is to remove the plugin from the project, ensure that plugins/cordova-custom-config
folder is entirely deleted and also remove the {project}/node_modules
folder. Then run cordova plugin add cordova-custom-config --verbose
to get some additional debug output when the plugin is being installed. It should report that dependencies are being resolved and installed, otherwise it will error.
from cordova-custom-config.
Related Issues (20)
- Android: custom-preference isn't doing anything, no error given HOT 1
- not compatible with cordova 9
- iOS location issue on uploading the apptore - ask for NSLocationAlwaysUsageDescription HOT 2
- All of a sudden (after updating node/npm LTS and cordova to 8.1.2), upon 'cordova run android', "Error loading dependencies (Cannot find module 'tostr') - attempting to resolve" - must install all deps by hand now HOT 6
- cordova-custom-config: Error updating config for platform 'android': Cannot use absolute path on element HOT 2
- Cordova builds fail with XCode-beta 11 HOT 4
- i need help with error unboun prefix HOT 1
- Question: iOS - how to set Legacy Build System ? HOT 5
- Builds fail when attempting usesClearText=true HOT 1
- Cordova ios build error - can someone help HOT 1
- Question: is this plugin needed for UISupportedInterfaceOrientations? HOT 2
- support capacitor HOT 1
- [Bug][Android] '"{{proj_path}}\platforms\android\cordova\version"' is not recognized as an internal or external command, operable program or batch file. HOT 1
- Cannot insert new Item to the section on AndroidManifest
- Vulnerability with package 'colors' HOT 1
- vulnerability in xcode package HOT 1
- Config.xml Bug HOT 6
- Ionic - The prefix "tools" for attribute "tools:node" associated with an element type "uses-permission" is not bound. HOT 1
- cordova-ios renamed Images.xcassets as Assets.xcassets meaning that asset_catalog needs to be updated
- BSF Cordova Ecosystem Crowdfunding Plan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-custom-config.