Webpack error when using Image component
See original GitHub issueWhen 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:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, I created PR #527 that updates the docs & examples to use the v3 package names.
@jxnblk now that PR #527 has been merged and the docs have been updated, I think this issue can be closed.