question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The `svgo` dependancy (for the `svg` plugin) is causing `lume` to fail

See original GitHub issue

lume isn’t working today for some reason. It seems the svgo dependency is to blame.

This is what happens when I try to use lume

$ lume
Download https://jspm.dev/svgo/plugins/convertEllipseToCircle.js
Download https://jspm.dev/svgo/plugins/removeUnknownsAndDefaults.js
Download https://jspm.dev/svgo/plugins/collapseGroups.js
Download https://jspm.dev/svgo/plugins/convertShapeToPath.js
Download https://jspm.dev/svgo/plugins/convertColors.js
Download https://jspm.dev/svgo/plugins/removeEmptyText.js
Download https://jspm.dev/svgo/plugins/cleanupAttrs.js
Download https://jspm.dev/svgo/plugins/removeDesc.js
Download https://jspm.dev/svgo/plugins/cleanupNumericValues.js
Download https://jspm.dev/svgo/plugins/removeMetadata.js
Download https://jspm.dev/svgo/plugins/minifyStyles.js
Download https://jspm.dev/svgo/plugins/removeHiddenElems.js
Download https://jspm.dev/svgo/plugins/removeUselessDefs.js
Download https://jspm.dev/svgo/plugins/mergePaths.js
Download https://jspm.dev/svgo/plugins/inlineStyles.js
Download https://jspm.dev/svgo/plugins/cleanupEnableBackground.js
Download https://jspm.dev/svgo/plugins/removeUnusedNS.js
Download https://jspm.dev/svgo/plugins/removeXMLProcInst.js
Download https://jspm.dev/svgo/plugins/removeTitle.js
Download https://jspm.dev/svgo/plugins/removeEmptyContainers.js
Download https://jspm.dev/svgo/plugins/removeUselessStrokeAndFill.js
Download https://jspm.dev/svgo/plugins/removeEditorsNSData.js
Download https://jspm.dev/svgo/plugins/removeEmptyAttrs.js
Download https://jspm.dev/svgo/plugins/removeViewBox.js
Download https://jspm.dev/svgo/plugins/removeNonInheritableGroupAttrs.js
Download https://jspm.dev/svgo/plugins/moveGroupAttrsToElems.js
Download https://jspm.dev/svgo/plugins/sortAttrs.js
Download https://jspm.dev/svgo/plugins/sortDefsChildren.js
Download https://jspm.dev/svgo/plugins/removeDoctype.js
Download https://jspm.dev/svgo/plugins/cleanupIDs.js
Download https://jspm.dev/svgo/plugins/moveElemsAttrsToGroup.js
Download https://jspm.dev/npm:css-tree@1/dist/csstree.min.js!cjs
lume: Import 'https://jspm.dev/svgo/plugins/convertEllipseToCircle.js' failed: 404 Not Found
    at https://deno.land/x/lume@v0.16.1/deps/svgo.js:34:0
TypeError: Import 'https://jspm.dev/svgo/plugins/convertEllipseToCircle.js' failed: 404 Not Found
    at https://deno.land/x/lume@v0.16.1/deps/svgo.js:34:0
    at async buildSite (https://deno.land/x/lume@v0.16.1/cli/utils.js:15:19)
    at async Module.run (https://deno.land/x/lume@v0.16.1/cli/build.js:44:16)
    at async maybeRun (https://deno.land/x/lume@v0.16.1/cli.js:109:28)
    at async cli (https://deno.land/x/lume@v0.16.1/cli.js:117:5)
    at async https://deno.land/x/lume@v0.16.1/cli.js:56:5
$ lume
Download https://jspm.dev/svgo/plugins/convertColors.js
Download https://jspm.dev/svgo/plugins/removeNonInheritableGroupAttrs.js
Download https://jspm.dev/svgo/plugins/removeViewBox.js
Download https://jspm.dev/svgo/plugins/removeUnusedNS.js
Download https://jspm.dev/svgo/plugins/cleanupNumericValues.js
Download https://jspm.dev/svgo/plugins/collapseGroups.js
Download https://jspm.dev/svgo/plugins/removeTitle.js
Download https://jspm.dev/svgo/plugins/removeMetadata.js
Download https://jspm.dev/svgo/plugins/cleanupIDs.js
Download https://jspm.dev/svgo/plugins/mergePaths.js
Download https://jspm.dev/svgo/plugins/removeDesc.js
Download https://jspm.dev/svgo/plugins/removeHiddenElems.js
Download https://jspm.dev/svgo/plugins/cleanupAttrs.js
Download https://jspm.dev/svgo/plugins/removeDoctype.js
Download https://jspm.dev/svgo/plugins/convertEllipseToCircle.js
Download https://jspm.dev/svgo/plugins/removeEditorsNSData.js
Download https://jspm.dev/svgo/plugins/sortDefsChildren.js
Download https://jspm.dev/svgo/plugins/removeUnknownsAndDefaults.js
Download https://jspm.dev/svgo/plugins/convertShapeToPath.js
Download https://jspm.dev/svgo/plugins/removeEmptyAttrs.js
Download https://jspm.dev/svgo/plugins/removeEmptyContainers.js
Download https://jspm.dev/svgo/plugins/minifyStyles.js
Download https://jspm.dev/svgo/plugins/removeXMLProcInst.js
Download https://jspm.dev/svgo/plugins/inlineStyles.js
Download https://jspm.dev/svgo/plugins/sortAttrs.js
Download https://jspm.dev/svgo/plugins/removeUselessStrokeAndFill.js
Download https://jspm.dev/svgo/plugins/moveElemsAttrsToGroup.js
Download https://jspm.dev/svgo/plugins/moveGroupAttrsToElems.js
Download https://jspm.dev/svgo/plugins/cleanupEnableBackground.js
Download https://jspm.dev/svgo/plugins/removeUselessDefs.js
Download https://jspm.dev/svgo/plugins/removeEmptyText.js
Download https://jspm.dev/npm:css-tree@1/dist/csstree.min.js!cjs
lume: Import 'https://jspm.dev/svgo/plugins/convertColors.js' failed: 404 Not Found
    at https://deno.land/x/lume@v0.16.1/deps/svgo.js:20:0
TypeError: Import 'https://jspm.dev/svgo/plugins/convertColors.js' failed: 404 Not Found
    at https://deno.land/x/lume@v0.16.1/deps/svgo.js:20:0
    at async buildSite (https://deno.land/x/lume@v0.16.1/cli/utils.js:15:19)
    at async Module.run (https://deno.land/x/lume@v0.16.1/cli/build.js:44:16)
    at async maybeRun (https://deno.land/x/lume@v0.16.1/cli.js:109:28)
    at async cli (https://deno.land/x/lume@v0.16.1/cli.js:117:5)
    at async https://deno.land/x/lume@v0.16.1/cli.js:56:5
$ lume
Download https://jspm.dev/svgo/plugins/moveElemsAttrsToGroup.js
Download https://jspm.dev/svgo/plugins/convertEllipseToCircle.js
Download https://jspm.dev/svgo/plugins/cleanupEnableBackground.js
Download https://jspm.dev/svgo/plugins/removeEmptyText.js
Download https://jspm.dev/svgo/plugins/inlineStyles.js
Download https://jspm.dev/svgo/plugins/removeXMLProcInst.js
Download https://jspm.dev/svgo/plugins/removeUselessDefs.js
Download https://jspm.dev/svgo/plugins/removeEmptyContainers.js
Download https://jspm.dev/svgo/plugins/minifyStyles.js
Download https://jspm.dev/svgo/plugins/convertColors.js
Download https://jspm.dev/svgo/plugins/removeMetadata.js
Download https://jspm.dev/svgo/plugins/collapseGroups.js
Download https://jspm.dev/svgo/plugins/mergePaths.js
Download https://jspm.dev/svgo/plugins/removeEditorsNSData.js
Download https://jspm.dev/svgo/plugins/cleanupAttrs.js
Download https://jspm.dev/svgo/plugins/convertShapeToPath.js
Download https://jspm.dev/svgo/plugins/removeTitle.js
Download https://jspm.dev/svgo/plugins/sortDefsChildren.js
Download https://jspm.dev/svgo/plugins/cleanupNumericValues.js
Download https://jspm.dev/svgo/plugins/removeEmptyAttrs.js
Download https://jspm.dev/svgo/plugins/removeViewBox.js
Download https://jspm.dev/svgo/plugins/removeNonInheritableGroupAttrs.js
Download https://jspm.dev/svgo/plugins/removeUnusedNS.js
Download https://jspm.dev/svgo/plugins/cleanupIDs.js
Download https://jspm.dev/svgo/plugins/removeHiddenElems.js
Download https://jspm.dev/svgo/plugins/removeUnknownsAndDefaults.js
Download https://jspm.dev/svgo/plugins/removeUselessStrokeAndFill.js
Download https://jspm.dev/svgo/plugins/removeDoctype.js
Download https://jspm.dev/svgo/plugins/removeDesc.js
Download https://jspm.dev/svgo/plugins/sortAttrs.js
Download https://jspm.dev/svgo/plugins/moveGroupAttrsToElems.js
Download https://jspm.dev/npm:css-tree@1/dist/csstree.min.js!cjs
lume: Import 'https://jspm.dev/svgo/plugins/moveElemsAttrsToGroup.js' failed: 404 Not Found
    at https://deno.land/x/lume@v0.16.1/deps/svgo.js:29:0
TypeError: Import 'https://jspm.dev/svgo/plugins/moveElemsAttrsToGroup.js' failed: 404 Not Found
    at https://deno.land/x/lume@v0.16.1/deps/svgo.js:29:0
    at async buildSite (https://deno.land/x/lume@v0.16.1/cli/utils.js:15:19)
    at async Module.run (https://deno.land/x/lume@v0.16.1/cli/build.js:44:16)
    at async maybeRun (https://deno.land/x/lume@v0.16.1/cli.js:109:28)
    at async cli (https://deno.land/x/lume@v0.16.1/cli.js:117:5)
    at async https://deno.land/x/lume@v0.16.1/cli.js:56:5

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
peterlobstercommented, Mar 20, 2021

I added it, that’s why.

1reaction
oscaroterocommented, Mar 19, 2021

Hi. thanks for reporting this. I’m on it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SVGR fails to load SVGs with Next 11 · Issue #26130 - GitHub
After upgrading from 10.x Next.js with webpack 4 config, to Nextjs 11, application fails to build with the below errors: error - ./icon.svg...
Read more >
babel-plugin-inline-svg-fix - npm
babel-plugin-inline-svg. NPM version Downloads Dependency status. Import raw SVG files into your code, optimising with SVGO, and removing ID ...
Read more >
Parsing unquoted SVG in Gatsby - reactjs - Stack Overflow
Generating JavaScript bundles failed postcss-svgo: Error in parsing SVG: Unquoted attribute value Line: 0 Column: 12 Char: \.
Read more >
Frequently Asked Questions | Documentation - Vue-SVG-Loader
To avoid the situation where two or more SVGs are using the same id attribute, you can use the prefixIds option provided by...
Read more >
Central Repository: org/webjars/npm
... aws-sdk__service-error-classification/ ... babel-plugin-ember-modules-api-polyfill/ ... fortawesome__fontawesome-svg-core/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found