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.

Webpack error when using Image component

See original GitHub issue

When I add import { Image } from '@mdx-deck/components', I get an error:

 ERROR #98123  WEBPACK

Generating SSR bundle failed

Can't resolve '@mdx-deck/components' in '/Users/me/node_modules/mdx-deck/.cache/caches/gatsby-plugin-mdx/mdx-scopes-dir'

File: .cache/caches/gatsby-plugin-mdx/mdx-scopes-dir/63c34dbe1fc36c01040121adb27312d6.js

⠸ start webpack server
TypeError: util.getSystemErrorName is not a function
    at getCode (/Users/me/node_modules/execa/lib/error.js:11:16)
    at makeError (/Users/me/node_modules/execa/lib/error.js:50:35)
    at handlePromise (/Users/me/node_modules/execa/index.js:112:26)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
qjcgcommented, Oct 24, 2019

FYI, I created PR #527 that updates the docs & examples to use the v3 package names.

0reactions
qjcgcommented, Oct 28, 2019

@jxnblk now that PR #527 has been merged and the docs have been updated, I think this issue can be closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React webpack error Runtime loading of image - Stack Overflow
You're loading the image path dynamically, but in runtime and depending on your webpack config, your assets' paths in the bundle can be ......
Read more >
error with image-webpack-loader · Issue #1759 - GitHub
Hi, I was using this boilerplate but only recently I suddenly got an error about image-webpack-loader, this is the error: ...
Read more >
[Solved]-Webpack image loader Error-Reactjs
Webpack image loader with dynamic inline background images via CSS? ... Webpack error - can't resolve loader in 'tmp/build...' webpack ERROR :You may...
Read more >
Blog - Next.js 13
Next.js 13 introduces layouts, React Server Components, and streaming in the app directory, as well as Turbopack, an improved image ...
Read more >
React - load new image - error | Physics Forums
Compiled with problems: ERROR in ./src/ui-component/Logo.js 14:0-29. Module not found: Error: You attempted to import /logo.png which falls ...
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