-
Notifications
You must be signed in to change notification settings - Fork 23
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
Module build failed: TypeError: node.serializeToString is not a function #25
Comments
I am observing the same mistake. Another issue: #24. |
Running into this too: https://travis-ci.org/transloadit/uppy/builds/101528583#L800 |
Until this is fixed Pavliko/postcss-svg#25
Proposed this change ---^ to shield the project from issues like these. Until that is merged, or the problem is fixed another way, feel free to use
in your |
@kvz Thanks for the fix! |
@kvz Great job! Thanks! 👍 |
@kvz 👍 |
xmldom was fixed v0.1.21 👍 |
This plugin now uses xmldoc 1.1.0. :) |
Hi guys!
First thing - this plugin is awesome!
Second thing - I've got this error after node update to version 5.3.0. (npm 3.5.2)
ERROR in ./~/css-loader!./~/postcss-loader!./css/main.css Module build failed: TypeError: node.serializeToString is not a function at XMLSerializer.serializeToString (node_modules/xmldom/dom.js:906:7) at SVGImage._addSprite (node_modules/postcss-svg/dist/lib/svg_image.js:199:40) at SVGImage._parseNode (node_modules/postcss-svg/dist/lib/svg_image.js:143:20) at SVGImage._parseNode (node_modules/postcss-svg/dist/lib/svg_image.js:148:16) at SVGImage._parseSvg (node_modules/postcss-svg/dist/lib/svg_image.js:99:18) at new SVGImage (node_modules/postcss-svg/dist/lib/svg_image.js:31:12) at Object.module.exports.addToIndex (node_modules/postcss-svg/dist/lib/svg_cache.js:65:15) at Object.module.exports.init (node_modules/postcss-svg/dist/lib/svg_cache.js:25:14) at node_modules/postcss-svg/dist/index.js:24:16 at LazyResult.run (node_modules/postcss/lib/lazy-result.js:206:20) at node_modules/postcss/lib/lazy-result.js:120:37 at LazyResult.asyncTick (node_modules/postcss/lib/lazy-result.js:134:15) at node_modules/postcss/lib/lazy-result.js:132:27 at LazyResult.asyncTick (node_modules/postcss/lib/lazy-result.js:134:15) at node_modules/postcss/lib/lazy-result.js:132:27 at LazyResult.asyncTick (node_modules/postcss/lib/lazy-result.js:134:15) at node_modules/postcss/lib/lazy-result.js:132:27 at LazyResult.asyncTick (node_modules/postcss/lib/lazy-result.js:134:15) at node_modules/postcss/lib/lazy-result.js:132:27 at LazyResult.asyncTick (node_modules/postcss/lib/lazy-result.js:134:15) at node_modules/postcss/lib/lazy-result.js:132:27 at LazyResult.asyncTick (node_modules/postcss/lib/lazy-result.js:134:15) @ ./css/main.css 4:14-117 13:2-17:4 14:20-123
The text was updated successfully, but these errors were encountered: