Mdx: Can't resolve 'fs' in '@mdx-js/runtime'

Created on 19 Jan 2020  路  3Comments  路  Source: mdx-js/mdx

Can't resolve 'fs' in '@mdx-js/runtime'

invalid 馃檯

Most helpful comment

webpack

It is expected that you use something to bundle the runtime. The bundling here goes wrong.
As you鈥檙e using webpack, see https://webpack.js.org/configuration/node/ for help on how to configure it.

I fixed it by apply fs = 'empty'. solutions

All 3 comments

Please provide a minimal and runnable reproduction.

It is expected that you use something to bundle the runtime. The bundling here goes wrong.
As you鈥檙e using webpack, see https://webpack.js.org/configuration/node/ for help on how to configure it.

webpack

It is expected that you use something to bundle the runtime. The bundling here goes wrong.
As you鈥檙e using webpack, see https://webpack.js.org/configuration/node/ for help on how to configure it.

I fixed it by apply fs = 'empty'. solutions

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Exelord picture Exelord  路  4Comments

egoist picture egoist  路  5Comments

EddyVinck picture EddyVinck  路  3Comments

johno picture johno  路  3Comments

trevordmiller picture trevordmiller  路  3Comments