nickolasnikolic opened a new issue, #618:
URL: https://github.com/apache/cordova-cli/issues/618
# Bug Report
## Problem
On WSL Ubuntu, Cordova CLI fails to create new project.
### What is expected to happen?
Creation of new project.
### What does actually happen?
cordova create helloworld
/mnt/c/Users/nick/AppData/Roaming/npm/node_modules/cordova/node_modules/hosted-git-info/lib/index.js:63
#fill (template, opts) {
^
SyntaxError: Unexpected token '('
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous>
(/mnt/c/Users/nick/AppData/Roaming/npm/node_modules/cordova/node_modules/npm-package-arg/lib/npa.js:8:19)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
Environment is Windows Services for Linux Ubuntu.
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
create
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
Windows 11/Ubuntu 20
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x ] I searched for existing GitHub issues
- [ x] I updated all Cordova tooling to most recent version
- [ x] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]