I have build Cordova (version - 2.9) Android App using gradle, now i want to upgrade cordova using cordova platform update android command but all time it gives me following error " Cannot find module ‘lodash/object/assign’ Error " , i also went through this and this but none of them are working , please guide me to resolve.
Asked
Active
Viewed 1,318 times
1 Answers
0
There is no folder object in cordova\node_modules\cordova-lib\node_modules\plist\node_modules\xmlbuilder\node_modules\lodash - therefore, require/resolveFilename fails.
Quick and dirty solution: make a copy of the existing folder fp in cordova\node_modules\cordova-lib\node_modules\plist\node_modules\xmlbuilder\node_modules\lodash and rename it to object. I had to copy it two more times (collection and lang were missing as well).

dex
- 137
- 5