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

Fatal error: Cannot read property 'distribute' of undefined #55

Closed
soultech67 opened this issue Jun 11, 2015 · 2 comments
Closed

Fatal error: Cannot read property 'distribute' of undefined #55

soultech67 opened this issue Jun 11, 2015 · 2 comments
Assignees
Labels

Comments

@soultech67
Copy link

I just posted the following issue (svg-sprite/svg-sprite#94) at https://github.com/jkphl/svg-sprite with details about a bug we're seeing with grunt-svg-sprite / svg-sprite.

I wanted to post the info here as well so people don't spin their wheels.

  1. We reference grunt-svg-sprite as "^1.1.10" and end up with the latest after an 'npm install' on a fresh box.
  2. Back in 1.1.10 grunt-svg-sprite referenced svg-sprite also as "^1.1.10"
  3. The bug seems to be in svg-sprite, so even when I modify our reference to "1.1.10" to force a pull of the old version of grunt-svg-sprite, we still end up with the latest svg-sprite module (1.2.3 right now) which has the bug.
  4. I think you've already fixed the svg-sprite reference to lock it down to an expected version in your packages.json with the "svg-sprite": "~1.2.3" declaration.
@jkphl
Copy link
Collaborator

jkphl commented Jun 11, 2015

You're right, the dependency confusion has already been fixed.

@jkphl jkphl self-assigned this Jun 11, 2015
@jkphl jkphl added the question label Jun 11, 2015
@jkphl
Copy link
Collaborator

jkphl commented Jun 11, 2015

Fixed, please see svg-sprite/svg-sprite#94 for an explanation.

@jkphl jkphl closed this as completed Jun 11, 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