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

Update to svgo to 5.2.1 from 5.2.0 causes error #237

Closed
obble80 opened this issue Mar 24, 2017 · 3 comments
Closed

Update to svgo to 5.2.1 from 5.2.0 causes error #237

obble80 opened this issue Mar 24, 2017 · 3 comments

Comments

@obble80
Copy link

obble80 commented Mar 24, 2017

events.js:141
throw er; // Unhandled 'error' event
^
TypeError: this is not a typed array.
at Function.from (native)
at /redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/index.js:25:19
at optimizeOnceCallback (/redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo.js:44:17)
at /redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo.js:65:9
at Object.sax.onend (/redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo/svg2js.js:156:13)
at emit (/redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/lib/sax.js:640:35)
at end (/redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/lib/sax.js:683:5)
at Object.write (/redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/lib/sax.js:991:14)
at Object.SAXParser.close (/redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/lib/sax.js:157:38)
at module.exports (/redacted/node_modules/gulp-imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo/svg2js.js:169:28)

@sngreg
Copy link

sngreg commented Mar 24, 2017

I am seeing this same error.

manabuyasuda added a commit to manabuyasuda/website-template that referenced this issue Mar 25, 2017
圧縮はsvgoのエラーが出るので、いったんコメントアウト。
imagemin/imagemin#237
@pierre-r
Copy link

I had the same error. I've updated nodejs & npm to the current latest version and it works now
nodejs : v6.10.1
npm : v4.4.4

@shinnn
Copy link
Contributor

shinnn commented May 5, 2017

Not an issue with this repository.

@shinnn shinnn closed this as completed May 5, 2017
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