Tue, 29 Sep 2020 08:26:35 GMT
Join the conversation at slack.cordova.io
Mon, 28 Sep 2020 15:33:20 GMT
@mario.kurzweil says
I don’t know if this is the right channel, but I’m getting the following error after I added the plugin https://github.com/mikakrooswijk/cordova-mongodb-storage/ to my project. I already removed the ios platform and added it back (6.1.1), updated cordova (10.0.0), updated the cocoapods (1.9.3)
Tue, 29 Sep 2020 01:43:06 GMT
@ebrommers says
I’m running across a strange error when trying to build android from the CLI -
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at validateString (internal/validators.js:117:11) at Object.join (path.js:1039:7) at ConfigKeeper.get (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigKeeper.js:44:32)```
Tue, 29 Sep 2020 01:44:31 GMT
@ebrommers says
Has anyone come across this? cordova-lib 10.0.0, cordova-android 9.0.0. iOS is compiling fine.
Tue, 29 Sep 2020 01:46:04 GMT
@ebrommers says
And the configkeeper.js code block in question (maybe a red herring):
file = 'res/xml/config.xml'; } const fake_path = path.join(project_dir, platform, file);```
Tue, 29 Sep 2020 01:48:22 GMT
@norman137 says
Try removing your
package-lock.json
file and yournode_modules
directory, then runnpm install
. So far my experience when people running into that issue is NPM isn't upgrading all packages for some whatever reason.
Tue, 29 Sep 2020 02:20:20 GMT
@ebrommers says
Ugh — no dice (same error). I’ll attack this again in the morning. The weird thing is that Android Studio isn’t complaining, it’s just the CLI.
Tue, 29 Sep 2020 06:48:56 GMT
@purplecabbage says
<!here> Who has topics for the bi-weekly cordova hangout this coming Thursday at 8 AM PDT? Please post them here.