Github user matrosov-nikita commented on the issue:

    https://github.com/apache/cordova-android/pull/362
  
    This bug affects user only if project path includes spaces.
    
    Repro steps:
    1) Create project in folder with space in name (i.e `C:\my projects\sample`)
    2) Run `cordova run android --list`
    
    
    On [this 
line](https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/list-devices.bat#L21)
 `%script_path%` already enclosed with double quotes. When we make additional 
enclosing, double quotes in the start and end of the script path are collapsed 
(""C:\my projects\sample\platforms\android\cordova\lib\list-devices"") and it 
leads to error like this: `Error: Cannot find module 'C:\my'`.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to