You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: conf.del is not a function
at module.exports ([mypath]\npm\node_modules\cordova\src\cli.js:139:18)
at Object. ([mypath]\npm\node_modules\cordova\bin\cordova:27:1)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Information
cli.js is trying to call conf.del, but the correct method is actually conf.delete
Bug Report
Problem
What is expected to happen?
Running cordova config delete removes the key from the config file
What does actually happen?
[mypath]\npm\node_modules\cordova\src\cli.js:139
conf.del(inputArgs[4]);
^
TypeError: conf.del is not a function
at module.exports ([mypath]\npm\node_modules\cordova\src\cli.js:139:18)
at Object. ([mypath]\npm\node_modules\cordova\bin\cordova:27:1)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Information
cli.js is trying to call conf.del, but the correct method is actually conf.delete
Command or Code
cordova config delete
Environment, Platform, Device
Version information
9.0.0 ([email protected])
Checklist
The text was updated successfully, but these errors were encountered: