Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows 8.1] Done, without errors but without output any file #92

Open
yuricamara opened this issue Mar 1, 2015 · 3 comments
Open

Comments

@yuricamara
Copy link

Hi,

I followed the tutorial example and I tried others variations.

Console output:
Running "svgstore:default" (svgstore) task
Done, without errors.

Could anyone help me, please?

@e-phoenix
Copy link

Sadly I don't have a solution at the moment, but I have the same problem. I don't think it is Windows 8.1 related, I also tested this on Windows 7 Professional with the same result.

@davidfstewart
Copy link

I was having the same result until I put default:{}, around the files:{}, or your-target:{}, section. The command line then said "File _includes/dest-svg.svg created" before "Done without errors." It ended up looking like this:
default:{
files: {
'_includes/svg-dest.svg': ['_includes/baseSVGs/*.svg'],
},
},

@shogunfighter
Copy link

I too struggled but i Found this website:

https://css-tricks.com/svg-sprites-use-better-icon-fonts/

I guess the plugin is quite strict in setting your gruntfile.

See sample code below... This worked when i tested

module.exports = function(grunt) {

	grunt.initConfig({
		//This is the svgstore node
		svgstore: {
			options: {
				prefix : 'shape-', // This will prefix each <g> ID
			},
			default : {
				files: {
					//'destination' : 'source or sourcelist'
					'dest/svg-defs.svg': ['svgs/*.svg'],
				}
			}
		},

	});
	
	//You need to load the plugin like this
	grunt.loadNpmTasks('grunt-svgstore');

};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants