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

SVGSpriter.add: "..\etc\file.svg" is not the local part of "d:\project\etc\file.svg #62

Closed
ottomen opened this issue Nov 2, 2015 · 1 comment
Assignees
Labels

Comments

@ottomen
Copy link

ottomen commented Nov 2, 2015

Hi!

I added svg sprite task to the Grunt. Here it is:

svg_sprite: {
            options: {
                // Task-specific options go here.
            },
            your_target: {
                src: ['../../images/*.svg'],
                dest: '../../images/dir',
                options: {
                    // Target-specific options
                }
            },
        },

All folder nestings are correct, but i get this error: "SVGSpriter.add: "....\images\close-cross-black.svg is not the local part of "d:\some_folders\repository\assets\guidelines\images\close-cross-black.svg". What can be wrong with my grunt task configuration?

@ottomen ottomen changed the title Error logs SVGSpriter.add: "..\etc\file.svg" is not the local part of "d:\project\etc\file.svg Nov 2, 2015
@jkphl jkphl added the question label Nov 6, 2015
@jkphl jkphl self-assigned this Nov 6, 2015
@jkphl
Copy link
Collaborator

jkphl commented Nov 6, 2015

Hey @ottomen,

there's nothing wrong with your configuration — it was a restriction that source SVG was not allowed to be located outside the current (working) directory. The latest release fixes this, your configuration should run now! Please let me know if you still encounter errors.

Cheers, Joschi

@jkphl jkphl closed this as completed Nov 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants