Problem with v.0.1.6 #70

Closed
jeremybenaim opened this Issue Apr 20, 2012 · 4 comments

Comments

Projects
None yet
2 participants
@jeremybenaim

Yeah this is lame but I need to use anterior version because my production environment is node 0.4.12 so I installed version 0.1.6, which comes with coffee-script@1.3.1 & flate@1.0.5.

And when I launch the app I've got this error

TypeError: In /Users/jbenaim/local/pdf-test/node_modules/pdfkit/lib/font/directory.coffee, Object 
Splat
  Value "data" has no method 'isArray'

Any clue to resolve this? Thanks

EDIT : I tried to compile with the coffee command line tool, and I've got the same error :/

@devongovett

This comment has been minimized.

Show comment Hide comment
@devongovett

devongovett Apr 20, 2012

Owner

That looks like a CoffeeScript bug, and in fact it is. There is even a pull request in to fix it. For now, use coffee-script@1.1.3, which is the most recently known working version. Sorry about that.

Owner

devongovett commented Apr 20, 2012

That looks like a CoffeeScript bug, and in fact it is. There is even a pull request in to fix it. For now, use coffee-script@1.1.3, which is the most recently known working version. Sorry about that.

@devongovett

This comment has been minimized.

Show comment Hide comment
@devongovett

devongovett Apr 20, 2012

Owner

Nevermind, just pushed a workaround. Upgrade to 0.1.8 from npm to get it. Thanks for reporting!

Owner

devongovett commented Apr 20, 2012

Nevermind, just pushed a workaround. Upgrade to 0.1.8 from npm to get it. Thanks for reporting!

@devongovett

This comment has been minimized.

Show comment Hide comment
@devongovett

devongovett Apr 20, 2012

Owner

Actually... this won't help you because you need the old version anyway... Might want to manually make the change I made in that commit to your old copy. This doesn't affect the new version which removed the dependency on CoffeeScript.

Owner

devongovett commented Apr 20, 2012

Actually... this won't help you because you need the old version anyway... Might want to manually make the change I made in that commit to your old copy. This doesn't affect the new version which removed the dependency on CoffeeScript.

@jeremybenaim

This comment has been minimized.

Show comment Hide comment
@jeremybenaim

jeremybenaim Apr 20, 2012

Great, thanks a lot ! :)

Great, thanks a lot ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment