[ 
https://issues.apache.org/jira/browse/CB-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695917#comment-13695917
 ] 

John M. Wargo commented on CB-4032:
-----------------------------------

Yes, we seem to be having inconsistent proxy problems here. I have been trying 
all day to install Cordova on my Windows box and I'm having the same problems.  
I just, finally, got it to install, and I'm seeing the same error I was having 
on Windows, see below.  Apparently it's seeing the folder structure and 
assuming that the helloWorld project is there when it isn't. this is the exact 
same situation I was experiencing on Mac OS yesterday. 

The CLI is checking for www and assuming it contains the project. Apparently 
the CLI installation is making the folder structure, but not populating it. 
Create then fails because its empty. 

C:\Users\i833153\dev>cordova create test
{ [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall:
 'getaddrinfo' }

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"
mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_build


mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_compi
le

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_docs

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_emula
te

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_platf
orm_add

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_platf
orm_rm

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_platf
orm_ls

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_plugi
n_add

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_plugi
n_ls

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_plugi
n_rm

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_prepa
re

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\after_run

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_buil
d

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_comp
ile

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_docs


mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_emul
ate

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_plat
form_add

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_plat
form_rm

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_plat
form_ls

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_plug
in_add

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_plug
in_ls

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_plug
in_rm

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_prep
are

mkdir: path already exists: C:\Users\i833153\dev\test\.cordova\hooks\before_run

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\2.9.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:46:31
    at Object.module.exports.custom (C:\Users\i833153\AppData\Roaming\npm\node_m
odules\cordova\src\lazy_load.js:56:34)
    at Object.lazy_load [as cordova] (C:\Users\i833153\AppData\Roaming\npm\node_
modules\cordova\src\lazy_load.js:41: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:39:22)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

C:\Users\i833153\dev>


                
> 2.9 missing www files
> ---------------------
>
>                 Key: CB-4032
>                 URL: https://issues.apache.org/jira/browse/CB-4032
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.9.0
>         Environment: Macintosh OS 10.8.4
>            Reporter: John M. Wargo
>            Assignee: Filip Maj
>
> I had my mac reimaged, so I'm starting fresh on a clean laptop. Installed 
> git, node, xcode and when I try to create a project, I get an error that 
> there's no index.html file.  I checked .cordova/lib/www/2.9.0 and its empty. 
> Anyone else experiencing this problem?
> Here's the install output:
> OAKM00524809A:Sample1 i833153$ npm install -g cordova
> npm http GET https://registry.npmjs.org/cordova
> npm http 200 https://registry.npmjs.org/cordova
> npm http GET https://registry.npmjs.org/cordova/-/cordova-2.9.0.tgz
> npm http 200 https://registry.npmjs.org/cordova/-/cordova-2.9.0.tgz
> npm ERR! error rolling back Error: EACCES, unlink '/usr/local/bin/cordova'
> npm ERR! error rolling back  [email protected] { [Error: EACCES, unlink 
> '/usr/local/bin/cordova'] errno: 3, code: 'EACCES', path: 
> '/usr/local/bin/cordova' }
> npm ERR! Error: EACCES, unlink '/usr/local/bin/cordova'
> npm ERR!  { [Error: EACCES, unlink '/usr/local/bin/cordova'] errno: 3, code: 
> 'EACCES', path: '/usr/local/bin/cordova' }
> npm ERR! 
> npm ERR! Please try running this command again as root/Administrator.
> npm ERR! System Darwin 12.4.0
> npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova"
> npm ERR! cwd /Users/i833153/dev/Sample1
> npm ERR! node -v v0.10.12
> npm ERR! npm -v 1.2.32
> npm ERR! path /usr/local/bin/cordova
> npm ERR! code EACCES
> npm ERR! errno 3
> npm ERR! stack Error: EACCES, unlink '/usr/local/bin/cordova'
> npm ERR! 
> npm ERR! Additional logging details can be found in:
> npm ERR!     /Users/i833153/dev/Sample1/npm-debug.log
> npm ERR! not ok code 0
> OAKM00524809A:Sample1 i833153$ sudo npm install -g cordova
> Password:
> npm http GET https://registry.npmjs.org/cordova
> npm http 304 https://registry.npmjs.org/cordova
> npm http GET https://registry.npmjs.org/plugman/0.7.14
> npm http GET https://registry.npmjs.org/plist
> npm http GET https://registry.npmjs.org/xcode/0.5.1
> npm http GET https://registry.npmjs.org/express
> npm http GET https://registry.npmjs.org/shelljs/0.1.2
> npm http GET https://registry.npmjs.org/ncallbacks/1.0.0
> npm http GET https://registry.npmjs.org/request
> npm http GET https://registry.npmjs.org/semver/1.1.0
> npm http GET https://registry.npmjs.org/glob
> npm http GET https://registry.npmjs.org/follow-redirects
> npm http GET https://registry.npmjs.org/prompt/0.2.7
> npm http GET https://registry.npmjs.org/ripple-emulator
> npm http GET https://registry.npmjs.org/tar
> npm http GET https://registry.npmjs.org/open/0.0.3
> npm http GET https://registry.npmjs.org/colors
> npm http GET https://registry.npmjs.org/elementtree/0.1.3
> npm http 304 https://registry.npmjs.org/ncallbacks/1.0.0
> npm http 304 https://registry.npmjs.org/xcode/0.5.1
> npm http 304 https://registry.npmjs.org/open/0.0.3
> npm http 304 https://registry.npmjs.org/prompt/0.2.7
> npm http 304 https://registry.npmjs.org/request
> npm http 304 https://registry.npmjs.org/plist
> npm http 304 https://registry.npmjs.org/shelljs/0.1.2
> npm http 200 https://registry.npmjs.org/plugman/0.7.14
> npm http GET https://registry.npmjs.org/plugman/-/plugman-0.7.14.tgz
> npm http 304 https://registry.npmjs.org/elementtree/0.1.3
> npm http 304 https://registry.npmjs.org/ripple-emulator
> npm http 304 https://registry.npmjs.org/glob
> npm http 304 https://registry.npmjs.org/tar
> npm http 304 https://registry.npmjs.org/semver/1.1.0
> npm http 304 https://registry.npmjs.org/colors
> npm http 304 https://registry.npmjs.org/follow-redirects
> npm http 200 https://registry.npmjs.org/express
> npm http 200 https://registry.npmjs.org/plugman/-/plugman-0.7.14.tgz
> npm WARN engine [email protected]: wanted: {"node":"~0.6.7"} (current: 
> {"node":"v0.10.12","npm":"1.2.32"})
> npm http GET https://registry.npmjs.org/underscore
> npm http GET https://registry.npmjs.org/sax/0.3.5
> npm http GET https://registry.npmjs.org/minimatch
> npm http GET https://registry.npmjs.org/graceful-fs
> npm http GET https://registry.npmjs.org/inherits
> npm http 304 https://registry.npmjs.org/underscore
> npm http GET https://registry.npmjs.org/range-parser/0.0.4
> npm http GET https://registry.npmjs.org/commander/0.6.1
> npm http GET https://registry.npmjs.org/mkdirp/0.3.3
> npm http GET https://registry.npmjs.org/buffer-crc32/0.1.1
> npm http GET https://registry.npmjs.org/cookie/0.0.5
> npm http GET https://registry.npmjs.org/fresh/0.1.0
> npm http GET https://registry.npmjs.org/methods/0.0.1
> npm http GET https://registry.npmjs.org/send/0.1.0
> npm http GET https://registry.npmjs.org/debug
> npm http GET https://registry.npmjs.org/cookie-signature/0.0.1
> npm http GET https://registry.npmjs.org/connect/2.7.2
> npm http GET https://registry.npmjs.org/revalidator
> npm http GET https://registry.npmjs.org/utile
> npm http GET https://registry.npmjs.org/winston
> npm http GET https://registry.npmjs.org/pkginfo
> npm http GET https://registry.npmjs.org/read
> npm http GET https://registry.npmjs.org/fstream
> npm http GET https://registry.npmjs.org/inherits
> npm http GET https://registry.npmjs.org/block-stream
> npm http 304 https://registry.npmjs.org/sax/0.3.5
> npm http 304 https://registry.npmjs.org/minimatch
> npm http 304 https://registry.npmjs.org/graceful-fs
> npm http 304 https://registry.npmjs.org/inherits
> npm http 304 https://registry.npmjs.org/fresh/0.1.0
> npm http 304 https://registry.npmjs.org/range-parser/0.0.4
> npm http 304 https://registry.npmjs.org/cookie-signature/0.0.1
> npm http 304 https://registry.npmjs.org/cookie/0.0.5
> npm http 304 https://registry.npmjs.org/buffer-crc32/0.1.1
> npm http 304 https://registry.npmjs.org/debug
> npm http 304 https://registry.npmjs.org/send/0.1.0
> npm http 304 https://registry.npmjs.org/methods/0.0.1
> npm http 304 https://registry.npmjs.org/commander/0.6.1
> npm http 200 https://registry.npmjs.org/mkdirp/0.3.3
> npm http 304 https://registry.npmjs.org/revalidator
> npm http 200 https://registry.npmjs.org/connect/2.7.2
> npm http 304 https://registry.npmjs.org/winston
> npm http 304 https://registry.npmjs.org/read
> npm http 304 https://registry.npmjs.org/utile
> npm http 304 https://registry.npmjs.org/pkginfo
> npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.3.tgz
> npm http GET https://registry.npmjs.org/connect/-/connect-2.7.2.tgz
> npm WARN package.json [email protected] No repository field.
> npm WARN package.json [email protected] No readme data.
> npm http 304 https://registry.npmjs.org/block-stream
> npm WARN package.json [email protected] No repository field.
> npm WARN package.json [email protected] No repository field.
> npm WARN package.json [email protected] No repository field.
> npm WARN package.json [email protected] No repository field.
> npm http 304 https://registry.npmjs.org/inherits
> npm http 304 https://registry.npmjs.org/fstream
> npm http GET https://registry.npmjs.org/mute-stream
> npm http 200 https://registry.npmjs.org/connect/-/connect-2.7.2.tgz
> npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.3.tgz
> npm http GET https://registry.npmjs.org/lru-cache
> npm http GET https://registry.npmjs.org/sigmund
> npm http GET https://registry.npmjs.org/pegjs/0.6.2
> npm http GET https://registry.npmjs.org/node-uuid/1.3.3
> npm http GET https://registry.npmjs.org/i
> npm http GET https://registry.npmjs.org/async
> npm http GET https://registry.npmjs.org/deep-equal
> npm http GET https://registry.npmjs.org/mkdirp
> npm http GET https://registry.npmjs.org/ncp
> npm http GET https://registry.npmjs.org/rimraf
> npm http GET https://registry.npmjs.org/rimraf
> npm http GET https://registry.npmjs.org/mkdirp
> npm http 304 https://registry.npmjs.org/mute-stream
> npm http 304 https://registry.npmjs.org/sigmund
> npm http 304 https://registry.npmjs.org/lru-cache
> npm http 304 https://registry.npmjs.org/node-uuid/1.3.3
> npm http 304 https://registry.npmjs.org/pegjs/0.6.2
> npm http 304 https://registry.npmjs.org/deep-equal
> npm http 304 https://registry.npmjs.org/async
> npm http 304 https://registry.npmjs.org/i
> npm http 304 https://registry.npmjs.org/ncp
> npm http 200 https://registry.npmjs.org/mkdirp
> npm http 200 https://registry.npmjs.org/rimraf
> npm http 200 https://registry.npmjs.org/mkdirp
> npm http 200 https://registry.npmjs.org/rimraf
> npm http GET https://registry.npmjs.org/cycle
> npm http GET https://registry.npmjs.org/eyes
> npm http GET https://registry.npmjs.org/stack-trace
> npm http 304 https://registry.npmjs.org/eyes
> npm http 304 https://registry.npmjs.org/stack-trace
> npm http 304 https://registry.npmjs.org/cycle
> npm WARN package.json [email protected] No repository field.
> npm http GET https://registry.npmjs.org/nopt
> npm http GET https://registry.npmjs.org/bplist-parser
> npm http GET https://registry.npmjs.org/osenv
> npm http GET https://registry.npmjs.org/ncallbacks/1.1.0
> npm http GET https://registry.npmjs.org/underscore/1.4.4
> npm http GET https://registry.npmjs.org/dep-graph/1.1.0
> npm http 304 https://registry.npmjs.org/ncallbacks/1.1.0
> npm http 304 https://registry.npmjs.org/underscore/1.4.4
> npm http 304 https://registry.npmjs.org/bplist-parser
> npm http 304 https://registry.npmjs.org/osenv
> npm http 304 https://registry.npmjs.org/nopt
> npm http 304 https://registry.npmjs.org/dep-graph/1.1.0
> > [email protected] preinstall 
> > /usr/local/lib/node_modules/cordova/node_modules/ripple-emulator
> > node thirdparty/ludicrous.js
> Prepare ship for ludicrous speed!
> Fasten all seatbelts, seal all entrances and exits, close all shops in the 
> mall, cancel the three ring circus, secure all animals in the zoo!
> npm http GET https://registry.npmjs.org/moment
> npm http GET https://registry.npmjs.org/express/3.1.0
> npm http GET https://registry.npmjs.org/connect-xcors/0.5.2
> npm http GET https://registry.npmjs.org/accounting
> npm http 304 https://registry.npmjs.org/connect-xcors/0.5.2
> npm http 304 https://registry.npmjs.org/moment
> npm WARN package.json [email protected] No readme data.
> npm http 304 https://registry.npmjs.org/accounting
> npm http 200 https://registry.npmjs.org/express/3.1.0
> npm http GET https://registry.npmjs.org/express/-/express-3.1.0.tgz
> npm http GET https://registry.npmjs.org/xmlbuilder
> npm http GET https://registry.npmjs.org/xmldom
> npm http 200 https://registry.npmjs.org/express/-/express-3.1.0.tgz
> npm http 304 https://registry.npmjs.org/xmlbuilder
> npm http 304 https://registry.npmjs.org/xmldom
> npm http GET https://registry.npmjs.org/mime/1.2.6
> npm http 304 https://registry.npmjs.org/mime/1.2.6
> npm http GET https://registry.npmjs.org/abbrev
> npm http GET https://registry.npmjs.org/underscore/1.2.1
> npm http 304 https://registry.npmjs.org/underscore/1.2.1
> npm http 304 https://registry.npmjs.org/abbrev
> npm http GET https://registry.npmjs.org/formidable/1.0.11
> npm http GET https://registry.npmjs.org/qs/0.5.1
> npm http GET https://registry.npmjs.org/bytes/0.1.0
> npm http GET https://registry.npmjs.org/pause/0.0.1
> npm http 304 https://registry.npmjs.org/qs/0.5.1
> npm http 304 https://registry.npmjs.org/pause/0.0.1
> npm http 304 https://registry.npmjs.org/bytes/0.1.0
> npm http 304 https://registry.npmjs.org/formidable/1.0.11
> npm WARN package.json [email protected] No repository field.
> npm WARN package.json [email protected] No repository field.
> npm WARN package.json [email protected] No repository field.
> /usr/local/bin/cordova -> /usr/local/lib/node_modules/cordova/bin/cordova
> npm WARN package.json [email protected] No repository field.
> npm WARN package.json [email protected] No repository field.
> npm WARN package.json [email protected] No repository field.
> [email protected] /usr/local/lib/node_modules/cordova
> ├── [email protected]
> ├── [email protected]
> ├── [email protected]
> ├── [email protected]
> ├── [email protected] ([email protected])
> ├── [email protected]
> ├── [email protected] ([email protected], [email protected], [email protected])
> ├── [email protected] ([email protected], [email protected])
> ├── [email protected] ([email protected])
> ├── [email protected] ([email protected], [email protected], [email protected])
> ├── [email protected]
> ├── [email protected] ([email protected], [email protected], [email protected], [email protected], 
> [email protected])
> ├── [email protected] ([email protected], [email protected])
> ├── [email protected] ([email protected], [email protected], [email protected], 
> [email protected], [email protected], [email protected], [email protected])
> ├── [email protected] ([email protected], [email protected], [email protected], 
> [email protected], [email protected], [email protected], [email protected], 
> [email protected], [email protected], [email protected], [email protected])
> └── [email protected] ([email protected], [email protected], 
> [email protected], [email protected])
> Here's the create command output:
> [Error: downloaded www assets in 
> /Users/i833153/.cordova/lib/www/cordova/2.9.0/www does not contain 
> index.html, or www subdir with index.html]

--
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