You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bryan Ellis (Jira)" <ji...@apache.org> on 2022/07/25 05:02:00 UTC
[jira] [Closed] (CB-6216) cordova-cli is unable to create projects with numbers as the path
[ https://issues.apache.org/jira/browse/CB-6216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Ellis closed CB-6216.
---------------------------
Resolution: Cannot Reproduce
Closing this issue as unreproducible. I tested with the same command "cordova create 1", from the description, with Cordova CLI 11.0.0.
> cordova-cli is unable to create projects with numbers as the path
> -----------------------------------------------------------------
>
> Key: CB-6216
> URL: https://issues.apache.org/jira/browse/CB-6216
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-cli
> Affects Versions: 3.3.0
> Reporter: Jenny Gee
> Priority: Major
>
> Found on CLI 3.3.1-0.3.1
> Run this:
> >cordova create 1
> Output:
> TypeError: Arguments to path.resolve must be strings
> at Object.exports.resolve (path.js:313:15)
> at CLI.create (/Users/jgee/npm/lib/node_modules/cordova/src/create.js:57:16)
> at new CLI (/Users/jgee/npm/lib/node_modules/cordova/src/cli.js:156:26)
> at Object.<anonymous> (/Users/jgee/npm/lib/node_modules/cordova/bin/cordova:41:16)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)
> at Function.Module._load (module.js:312:12)
> at Function.Module.runMain (module.js:497:10)
> at startup (node.js:119:16)
> This also fails:
> >cordova create "1"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org