[ 
https://issues.apache.org/jira/browse/CB-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4322.
---------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.0

THis is now resolved and pushed to npm as 3.0.1. Uses npm's proxy configs in 
lazy-load module.
                
> CLI still not recognizing when sample www project is not available.
> -------------------------------------------------------------------
>
>                 Key: CB-4322
>                 URL: https://issues.apache.org/jira/browse/CB-4322
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>            Reporter: John M. Wargo
>            Assignee: Filip Maj
>             Fix For: 3.1.0
>
>
> Still having problems with the CLI not recognizing that it doesn't have a 
> HelloWorld project to use.
> C:\Users\i833153\dev>cordova create test
> [TypeError: Cannot read property 'length' of undefined]
> C:\Users\i833153\dev>cordova -d create test
> Creating a new cordova project with name "HelloCordova" and id 
> "io.cordova.hello
> cordova" at location "C:\Users\i833153\dev\test"
> Using stock cordova hello-world application.
> cordova library for "www" already exists. No need to download. Continuing.
> Copying stock Cordova www assets into "C:\Users\i833153\dev\test\www"
> Error: downloaded www assets in 
> C:\Users\i833153\.cordova\lib\www\cordova\3.0.0\
> www does not contain index.html, or www subdir with index.html
>     at finalize 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\c
> reate.js:114:27)
>     at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\create.js:1
> 54:17
>     at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.j
> s:47:31
>     at Object.module.exports.custom 
> (C:\Users\i833153\AppData\Roaming\npm\node_m
> odules\cordova\src\lazy_load.js:57:34)
>     at Object.lazy_load [as cordova] 
> (C:\Users\i833153\AppData\Roaming\npm\node_
> modules\cordova\src\lazy_load.js:42:24)
>     at Object.create 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\
> src\create.js:148:19)
>     at Object.<anonymous> 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cor
> dova\bin\cordova:42:22)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to