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

Filip Maj commented on CB-4032:
-------------------------------

I just tested this and it works fine. First I deleted the location of 
lazy-loaded libraries:

{code}
$ ls ~/.cordova/lib/www/cordova
2.8.0/    2.9.0/    2.9.0rc1/
$ rm -rf ~/.cordova/lib/www/cordova/*
{code}

Then I went to create a new project, and I used the {{-d}} flag to get more 
verbose output. This can help you too if you are having weird behaviour:

{code}
$ cordova -d create tmp
Creating a new cordova project with name "HelloCordova" and id 
"io.cordova.hellocordova" at location "/Users/fil/src/tmp"
Using stock cordova hello-world application.
Requesting 
https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;a=snapshot;h=2.9.0;sf=tgz...
Download complete. Extracting...
Copying stock Cordova www assets into "/Users/fil/src/tmp/www"
$ ls tmp/www
total 24
drwxr-xr-x  10 fil  staff   340 Jun 27 11:35 .
drwxr-xr-x   7 fil  staff   238 Jun 27 11:35 ..
-rw-r--r--   1 fil  staff   577 Jun 27 11:35 config.xml
drwxr-xr-x   3 fil  staff   102 Jun 27 11:35 css
drwxr-xr-x   3 fil  staff   102 Jun 27 11:35 img
-rw-r--r--   1 fil  staff  1778 Jun 27 11:35 index.html
drwxr-xr-x   3 fil  staff   102 Jun 27 11:35 js
drwxr-xr-x   4 fil  staff   136 Jun 27 11:35 res
drwxr-xr-x   5 fil  staff   170 Jun 27 11:35 spec
-rw-r--r--   1 fil  staff  2532 Jun 27 11:35 spec.html
{code}

You should get more-or-less that sort of output.
                
> 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