-
Notifications
You must be signed in to change notification settings - Fork 310
vendor.css file error - Failed to load resource: the server responded with a status of 404 (Not Found) #242
Comments
By default its empty since you havent added any files to it yet. Since its empty, it doesn't get created. Not sure how to handle this test case without putting something in there. @addyosmani thoughts? |
Having the same problem here. Removed the vendor.css build and endbuild comments for now. |
I can see two options here: either removing vendor.css from being referenced or placing some default content in there. Currently tempted to say we should drop referencing. cc @sindresorhus @passy for more opinions. |
The reason the tags are there is to support the
|
Well pointed out @haydenbleasel. We'll need a more concrete solution to this than just removing. |
This should work, although Bower components added with
The three real options we have here are:
|
I like option 2 the best. i think it should be included by default anyway |
I currently prefer option 2 as well. Let's work to get that in place. |
Is someone already doing this? If not, I'll do it. |
Just a heads up that I think I'm on the latest codebase and this was confusing for me. I had to Google half a dozen search terms before I found this issue of why vendor.css was missing in my production webapp. Still new to Angular and Yeoman and it can confuse others, too who don't use Bootstrap. |
Yeah, this is a grunt-usemin issue. |
@silvenon I don't want to ask for more of your time resolving this issue as you've already spent a bunch, but if you have time to PR a fix for |
That would be great. I would be happy to do it, though I never contributed to a Grunt plugin before, wish me luck! :D |
Oh yeah! Btw, grunt-usemin really needs to get laid. And it's not like it can't get any, it has 26 open PRs, many of which are not even discussed. |
I totes agree yeoman/grunt-usemin#313 :) |
How do I get around this issue if I don't want any vendor css includes? I'm importing all of my vendor related css in sass format. |
If I understood your question correctly, you can just remove the comment blocks. |
Using the most recent version of both yo (1.2.1) and generator-webapp (0.5.0) with bootstrap (no sass or modernizer), Here is the ouput of % yo webapp !3083
_-----_
| | .--------------------------.
|--(o)--| | Welcome to Yeoman, |
`---------´ | ladies and gentlemen! |
( _´U`_ ) '--------------------------'
/___A___\
| ~ |
__'.___.'__
´ ` |° ´ Y `
Out of the box I include HTML5 Boilerplate, jQuery, and a Gruntfile.js to build your app.
? What more would you like?: Bootstrap
create Gruntfile.js
create package.json
create .gitignore
create .gitattributes
create bower.json
create .jshintrc
create .editorconfig
create app/styles/main.css
create app/favicon.ico
create app/robots.txt
create app/index.html
create app/scripts/main.js
invoke mocha
I'm all done. Running bower install & npm install for you to install the required dependencies. If this fails, try running the command yourself.
create test/bower.json
create test/.bowerrc
create test/spec/test.js
create test/index.html
bower bootstrap#~3.2.0 cached git://github.com/twbs/bootstrap.git#3.2.0
bower bootstrap#~3.2.0 validate 3.2.0 against git://github.com/twbs/bootstrap.git#~3.2.0
bower jquery#>= 1.9.0 cached git://github.com/jquery/jquery.git#2.1.1
bower jquery#>= 1.9.0 validate 2.1.1 against git://github.com/jquery/jquery.git#>= 1.9.0
bower bootstrap#~3.2.0 install bootstrap#3.2.0
bower jquery#>= 1.9.0 install jquery#2.1.1
bootstrap#3.2.0 app/bower_components/bootstrap
└── jquery#2.1.1
jquery#2.1.1 app/bower_components/jquery
npm WARN package.json yeoman-medline@ No description
npm WARN package.json yeoman-medline@ No repository field.
npm WARN package.json yeoman-medline@ No README data
> [email protected] install /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/node_modules/grunt-lib-phantomjs/node_modules/phantomjs
> node install.js
Looks like an `npm install -g`; unable to check for already installed version.
Download already available at /var/folders/sv/5m573hsj5clfg2j6ybwjd9w40000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip
Extracting zip contents
Copying extracted folder /var/folders/sv/5m573hsj5clfg2j6ybwjd9w40000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip-extract-1409758099459/phantomjs-1.9.7-macosx -> /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
> [email protected] postinstall /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js
✔︎ pre-build test passed successfully!
> [email protected] postinstall /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin
> node lib/install.js
✔︎ pre-build test passed successfully!
> [email protected] postinstall /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js
✔︎ pre-build test passed successfully!
> [email protected] postinstall /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
> node lib/install.js
✔︎ pre-build test passed successfully!
[email protected] ../node_modules/grunt-contrib-copy
[email protected] ../node_modules/apache-server-configs
[email protected] ../node_modules/grunt-rev
[email protected] ../node_modules/grunt-contrib-clean
└── [email protected]
[email protected] ../node_modules/grunt-concurrent
├── [email protected] ([email protected])
└── [email protected]
[email protected] ../node_modules/time-grunt
├── [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] ../node_modules/grunt-newer
├── [email protected]
└── [email protected]
[email protected] ../node_modules/jshint-stylish
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] ../node_modules/grunt-contrib-concat
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected])
[email protected] ../node_modules/grunt-contrib-connect
├── [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] ../node_modules/grunt-mocha
├── [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] ../node_modules/grunt-contrib-htmlmin
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] ../node_modules/grunt-svgmin
├── [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] ../node_modules/grunt-contrib-jshint
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] ../node_modules/grunt-contrib-watch
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected]
[email protected] ../node_modules/grunt-contrib-cssmin
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
[email protected] ../node_modules/grunt-autoprefixer
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])
[email protected] ../node_modules/load-grunt-tasks
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])
[email protected] ../node_modules/grunt-contrib-uglify
├── [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] ../node_modules/grunt
├── [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] ../node_modules/grunt-usemin
├── [email protected] ([email protected])
└── [email protected]
[email protected] ../node_modules/grunt-wiredep
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] ../node_modules/grunt-contrib-imagemin
├── [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 is the output of % grunt build --verbose !3084
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-contrib-copy" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-copy/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy
Registering "grunt-contrib-concat" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-concat/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat
Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify
Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint
Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin
Registering "grunt-contrib-connect" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-connect/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect
Registering "grunt-contrib-clean" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-clean/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean
Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin
Registering "grunt-wiredep" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-wiredep/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-wiredep/package.json...OK
Loading "wiredep.js" tasks...OK
+ wiredep
Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin
Registering "grunt-contrib-watch" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-watch/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch
Registering "grunt-rev" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-rev/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-rev/package.json...OK
Loading "rev.js" tasks...OK
+ rev
Registering "grunt-autoprefixer" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-autoprefixer/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer
Registering "grunt-usemin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-usemin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Registering "grunt-mocha" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/package.json...OK
Growl not found, 'npm install growl' for Growl supportLoading "mocha.js" tasks...OK
+ mocha
Registering "grunt-newer" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-newer/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-clean, newer-postrun
Registering "grunt-svgmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-svgmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin
Registering "grunt-concurrent" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-concurrent/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, serve, server, test
Running tasks: build
Running "build" task
Running "clean:dist" (clean) task
Verifying property clean.dist exists in config...OK
Files: [no src]
Options: force=false, no-write=false
>> 0 paths cleaned.
Running "wiredep" task
Running "wiredep:app" (wiredep) task
Verifying property wiredep.app exists in config...OK
Files: app/index.html
Verifying property wiredep.app.src exists in config...OK
app/index.html modified.
Running "useminPrepare" task
Running "useminPrepare:html" (useminPrepare) task
Verifying property useminPrepare.html exists in config...OK
Files: app/index.html -> html
Options: dest="dist"
Going through app/index.html to update the config
Looking for build script HTML comment blocks
Configuration is now:
concat:
{ generated:
{ files:
[ { dest: '.tmp/concat/styles/vendor.css',
src: [ 'bower_components/bootstrap/dist/css/bootstrap.css' ] },
{ dest: '.tmp/concat/styles/main.css',
src: [ '.tmp/styles/main.css' ] },
{ dest: '.tmp/concat/scripts/vendor.js',
src: [ 'bower_components/jquery/dist/jquery.js' ] },
{ dest: '.tmp/concat/scripts/plugins.js',
src:
[ 'bower_components/bootstrap/js/affix.js',
'bower_components/bootstrap/js/alert.js',
'bower_components/bootstrap/js/dropdown.js',
'bower_components/bootstrap/js/tooltip.js',
'bower_components/bootstrap/js/modal.js',
'bower_components/bootstrap/js/transition.js',
'bower_components/bootstrap/js/button.js',
'bower_components/bootstrap/js/popover.js',
'bower_components/bootstrap/js/carousel.js',
'bower_components/bootstrap/js/scrollspy.js',
'bower_components/bootstrap/js/collapse.js',
'bower_components/bootstrap/js/tab.js' ] },
{ dest: '.tmp/concat/scripts/main.js',
src: [ '{app,.tmp}/scripts/main.js' ] } ] } }
uglify:
{ generated:
{ files:
[ { dest: 'dist/scripts/vendor.js',
src: [ '.tmp/concat/scripts/vendor.js' ] },
{ dest: 'dist/scripts/plugins.js',
src: [ '.tmp/concat/scripts/plugins.js' ] },
{ dest: 'dist/scripts/main.js',
src: [ '.tmp/concat/scripts/main.js' ] } ] } }
cssmin:
{ generated:
{ files:
[ { dest: 'dist/styles/vendor.css',
src: [ '.tmp/concat/styles/vendor.css' ] },
{ dest: 'dist/styles/main.css',
src: [ '.tmp/concat/styles/main.css' ] } ] } }
Running "concurrent:dist" (concurrent) task
Verifying property concurrent.dist exists in config...OK
Files: [no src] -> dist
Options: limit=4
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-contrib-copy" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-copy/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy
Registering "grunt-contrib-concat" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-concat/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat
Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify
Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint
Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin
Registering "grunt-contrib-connect" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-connect/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect
Registering "grunt-contrib-clean" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-clean/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean
Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin
Registering "grunt-wiredep" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-wiredep/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-wiredep/package.json...OK
Loading "wiredep.js" tasks...OK
+ wiredep
Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin
Registering "grunt-contrib-watch" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-watch/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch
Registering "grunt-rev" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-rev/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-rev/package.json...OK
Loading "rev.js" tasks...OK
+ rev
Registering "grunt-autoprefixer" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-autoprefixer/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer
Registering "grunt-usemin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-usemin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Registering "grunt-mocha" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/package.json...OK
Growl not found, 'npm install growl' for Growl supportLoading "mocha.js" tasks...OK
+ mocha
Registering "grunt-newer" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-newer/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-clean, newer-postrun
Registering "grunt-svgmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-svgmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin
Registering "grunt-concurrent" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-concurrent/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, serve, server, test
Running tasks: copy:styles
Running "copy:styles" (copy) task
Verifying property copy.styles exists in config...OK
Files: app/styles/main.css -> .tmp/styles/main.css
Options: encoding="utf8", processContent=false, processContentExclude=[], mode=false
Copying app/styles/main.css -> .tmp/styles/main.css
Reading app/styles/main.css...OK
Writing .tmp/styles/main.css...OK
Copied 1 files
Done, without errors.
Execution Time (2014-09-03 15:33:55 UTC)
loading tasks 1.1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99%
copy:styles 11ms ▇ 1%
Total 1.1s
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-contrib-copy" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-copy/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy
Registering "grunt-contrib-concat" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-concat/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat
Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify
Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint
Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin
Registering "grunt-contrib-connect" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-connect/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect
Registering "grunt-contrib-clean" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-clean/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean
Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin
Registering "grunt-wiredep" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-wiredep/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-wiredep/package.json...OK
Loading "wiredep.js" tasks...OK
+ wiredep
Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin
Registering "grunt-contrib-watch" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-watch/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch
Registering "grunt-rev" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-rev/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-rev/package.json...OK
Loading "rev.js" tasks...OK
+ rev
Registering "grunt-autoprefixer" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-autoprefixer/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer
Registering "grunt-usemin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-usemin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Registering "grunt-mocha" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/package.json...OK
Growl not found, 'npm install growl' for Growl supportLoading "mocha.js" tasks...OK
+ mocha
Registering "grunt-newer" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-newer/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-clean, newer-postrun
Registering "grunt-svgmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-svgmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin
Registering "grunt-concurrent" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-concurrent/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, serve, server, test
Running tasks: imagemin
Running "imagemin" task
Running "imagemin:dist" (imagemin) task
Verifying property imagemin.dist exists in config...OK
Options: interlaced, optimizationLevel=3, progressive
Minified 0 images (saved 0 B)
Done, without errors.
Execution Time (2014-09-03 15:33:55 UTC)
loading tasks 1.1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99%
imagemin:dist 11ms ▇ 1%
Total 1.1s
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-contrib-copy" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-copy/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy
Registering "grunt-contrib-concat" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-concat/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat
Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify
Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint
Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin
Registering "grunt-contrib-connect" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-connect/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect
Registering "grunt-contrib-clean" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-clean/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean
Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin
Registering "grunt-wiredep" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-wiredep/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-wiredep/package.json...OK
Loading "wiredep.js" tasks...OK
+ wiredep
Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin
Registering "grunt-contrib-watch" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-watch/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch
Registering "grunt-rev" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-rev/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-rev/package.json...OK
Loading "rev.js" tasks...OK
+ rev
Registering "grunt-autoprefixer" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-autoprefixer/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer
Registering "grunt-usemin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-usemin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Registering "grunt-mocha" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-mocha/package.json...OK
Growl not found, 'npm install growl' for Growl supportLoading "mocha.js" tasks...OK
+ mocha
Registering "grunt-newer" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-newer/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-clean, newer-postrun
Registering "grunt-svgmin" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-svgmin/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin
Registering "grunt-concurrent" local Npm module tasks.
Reading /Users/adam/github/yeoman-medline/node_modules/grunt-concurrent/package.json...OK
Parsing /Users/adam/github/yeoman-medline/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, serve, server, test
Running tasks: svgmin
Running "svgmin" task
Running "svgmin:dist" (svgmin) task
Verifying property svgmin.dist exists in config...OK
Options: (none)
Total saved: 0 B
Done, without errors.
Execution Time (2014-09-03 15:33:55 UTC)
loading tasks 1.1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 95%
svgmin:dist 57ms ▇▇▇ 5%
Total 1.2s
Running "autoprefixer" task
Running "autoprefixer:dist" (autoprefixer) task
Verifying property autoprefixer.dist exists in config...OK
Files: .tmp/styles/main.css -> .tmp/styles/main.css
Options: cascade, diff=false, map=false, silent=false, browsers=["> 1%","last 2 versions","Firefox ESR","Opera 12.1"]
Reading .tmp/styles/main.css...OK
Writing .tmp/styles/main.css...OK
File .tmp/styles/main.css created.
Running "concat" task
Running "concat:generated" (concat) task
Verifying property concat.generated exists in config...OK
Files: [no src] -> .tmp/concat/styles/vendor.css
Files: .tmp/styles/main.css -> .tmp/concat/styles/main.css
Files: [no src] -> .tmp/concat/scripts/vendor.js
Files: [no src] -> .tmp/concat/scripts/plugins.js
Files: app/scripts/main.js -> .tmp/concat/scripts/main.js
Options: separator="\n", banner="", footer="", stripBanners=false, process=false, sourceMap=false, sourceMapName=undefined, sourceMapStyle="embed"
Writing .tmp/concat/styles/vendor.css...OK
File .tmp/concat/styles/vendor.css created.
Reading .tmp/styles/main.css...OK
Writing .tmp/concat/styles/main.css...OK
File .tmp/concat/styles/main.css created.
Writing .tmp/concat/scripts/vendor.js...OK
File .tmp/concat/scripts/vendor.js created.
Writing .tmp/concat/scripts/plugins.js...OK
File .tmp/concat/scripts/plugins.js created.
Reading app/scripts/main.js...OK
Writing .tmp/concat/scripts/main.js...OK
File .tmp/concat/scripts/main.js created.
Running "cssmin" task
Running "cssmin:generated" (cssmin) task
Verifying property cssmin.generated exists in config...OK
Files: .tmp/concat/styles/vendor.css -> dist/styles/vendor.css
Files: .tmp/concat/styles/main.css -> dist/styles/main.css
Options: report="min"
Reading .tmp/concat/styles/vendor.css...OK
>> Destination not written because minified CSS was empty.
Reading .tmp/concat/styles/main.css...OK
Writing dist/styles/main.css...OK
File dist/styles/main.css created: 1.45 kB → 735 B
Running "uglify" task
Running "uglify:generated" (uglify) task
Verifying property uglify.generated exists in config...OK
Files: .tmp/concat/scripts/vendor.js -> dist/scripts/vendor.js
Files: .tmp/concat/scripts/plugins.js -> dist/scripts/plugins.js
Files: .tmp/concat/scripts/main.js -> dist/scripts/main.js
Options: banner="", footer="", compress={"warnings":false}, mangle={}, beautify=false, report="min", expression=false
Minifying with UglifyJS...Reading .tmp/concat/scripts/vendor.js...OK
OK
Writing dist/scripts/vendor.js...OK
File dist/scripts/vendor.js created: 0 B → 0 B
Minifying with UglifyJS...Reading .tmp/concat/scripts/plugins.js...OK
OK
Writing dist/scripts/plugins.js...OK
File dist/scripts/plugins.js created: 0 B → 0 B
Minifying with UglifyJS...Reading .tmp/concat/scripts/main.js...OK
OK
Writing dist/scripts/main.js...OK
File dist/scripts/main.js created: 30 B → 28 B
Running "copy:dist" (copy) task
Verifying property copy.dist exists in config...OK
Files: app/favicon.ico -> dist/favicon.ico
Files: app/robots.txt -> dist/robots.txt
Files: app/index.html -> dist/index.html
Files: node_modules/apache-server-configs/dist/.htaccess -> dist/.htaccess
Options: encoding="utf8", processContent=false, processContentExclude=[], mode=false
Copying app/favicon.ico -> dist/favicon.ico
Reading app/favicon.ico...OK
Writing dist/favicon.ico...OK
Copying app/robots.txt -> dist/robots.txt
Reading app/robots.txt...OK
Writing dist/robots.txt...OK
Copying app/index.html -> dist/index.html
Reading app/index.html...OK
Writing dist/index.html...OK
Copying node_modules/apache-server-configs/dist/.htaccess -> dist/.htaccess
Reading node_modules/apache-server-configs/dist/.htaccess...OK
Writing dist/.htaccess...OK
Copied 4 files
Running "rev" task
Running "rev:dist" (rev) task
Verifying property rev.dist exists in config...OK
Files: dist/scripts/main.js, dist/scripts/plugins.js, dist/scripts/vendor.js, dist/styles/main.css, dist/favicon.ico -> src
Options: algorithm="md5", length=8
Hashing dist/scripts/main.js...Reading dist/scripts/main.js...OK
OK
>> b6c3df09cc6f4bda52afeaa7cb43a4b3
dist/scripts/main.js >> b6c3df09.main.js
Hashing dist/scripts/plugins.js...Reading dist/scripts/plugins.js...OK
OK
>> d41d8cd98f00b204e9800998ecf8427e
dist/scripts/plugins.js >> d41d8cd9.plugins.js
Hashing dist/scripts/vendor.js...Reading dist/scripts/vendor.js...OK
OK
>> d41d8cd98f00b204e9800998ecf8427e
dist/scripts/vendor.js >> d41d8cd9.vendor.js
Hashing dist/styles/main.css...Reading dist/styles/main.css...OK
OK
>> a5896f90bb37556d5a076f5cb0e5fea3
dist/styles/main.css >> a5896f90.main.css
Hashing dist/favicon.ico...Reading dist/favicon.ico...OK
OK
>> 6df2b309369d741d2d07c2860105637a
dist/favicon.ico >> 6df2b309.favicon.ico
Running "usemin" task
Running "usemin:html" (usemin) task
Verifying property usemin.html exists in config...OK
Files: dist/index.html -> html
Options: type="html", assetsDirs=["dist","dist/images"]
Processing as HTML - dist/index.html
Update the HTML to reference our concat/min/revved script files
<script src="scripts/vendor.js" changed to <script src="scripts/d41d8cd9.vendor.js"
<script src="scripts/plugins.js" changed to <script src="scripts/d41d8cd9.plugins.js"
<script src="scripts/main.js" changed to <script src="scripts/b6c3df09.main.js"
Update the HTML with the new css filenames
<link rel="shortcut icon" href="/favicon.ico" changed to <link rel="shortcut icon" href="/6df2b309.favicon.ico"
<link rel="stylesheet" href="styles/main.css" changed to <link rel="stylesheet" href="styles/a5896f90.main.css"
Update the HTML with the new img filenames
Update the HTML with the new video filenames
Update the HTML with the new poster filenames
Update the HTML with the new source filenames
Update the HTML with data-main tags
Update the HTML with data-* tags
Update the HTML with background imgs, case there is some inline style
Update the HTML with anchors images
Update the HTML with reference in input
Update the HTML with the new img filenames in meta tags
Update the HTML with the new object filenames
Update the HTML with the new image filenames for svg xlink:href links
Update the HTML with the new image filenames for src links
Writing dist/index.html...OK
Running "usemin:css" (usemin) task
Verifying property usemin.css exists in config...OK
Files: dist/styles/a5896f90.main.css -> css
Options: type="css", assetsDirs=["dist","dist/images"]
Processing as CSS - dist/styles/a5896f90.main.css
Update the CSS to reference our revved images
Writing dist/styles/a5896f90.main.css...OK
Running "htmlmin" task
Running "htmlmin:dist" (htmlmin) task
Verifying property htmlmin.dist exists in config...OK
Files: dist/index.html -> dist/index.html
Options: collapseBooleanAttributes, collapseWhitespace, conservativeCollapse, removeAttributeQuotes, removeCommentsFromCDATA, removeEmptyAttributes, removeOptionalTags, removeRedundantAttributes, useShortDoctype
Reading dist/index.html...OK
Writing dist/index.html...OK
Minified dist/index.html 2.51 kB → 2.14 kB
Done, without errors.
Execution Time (2014-09-03 15:33:54 UTC)
loading tasks 848ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 32%
clean:dist 15ms ▇ 1%
wiredep:app 107ms ▇▇▇▇▇▇ 4%
useminPrepare:html 21ms ▇▇ 1%
concurrent:dist 1.5s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 57%
autoprefixer:dist 53ms ▇▇▇ 2%
concat:generated 14ms ▇ 1%
cssmin:generated 21ms ▇▇ 1%
uglify:generated 23ms ▇▇ 1%
copy:dist 7ms 0%
rev:dist 9ms 0%
usemin:html 19ms ▇▇ 1%
usemin:css 7ms 0%
htmlmin:dist 11ms 0%
Total 2.7s |
Created new project using yeoman webapp generator.
After running
grunt build
andgrunt serve:dist
i am getting vendor.css file not found error.When i checked all the folders i could only find it in app/.tmp/concat/styles/ folder, whereas main.css file is located at app/.tmp/concat/styles/ and .tmp/styles/
When i saw the
grunt build
out put i found following lines which might be related to this:Out put of : yo --version && echo $PATH $NODE_PATH && node -e 'console.log(process.platform, process.versions)' && cat Gruntfile.js
The text was updated successfully, but these errors were encountered: