markdown-loader icon indicating copy to clipboard operation
markdown-loader copied to clipboard

8.0.0 Cannot find module

Open WCByrne opened this issue 3 years ago • 0 comments

Admittedly I haven't dug into this at all yet but something in 8.0.0 is throwing a "Cannot find module" error. Possible it is not an issue with markdowns-loader but downgrading to 7 works again so... I'm starting here.

I don't have time to dig into it right now but I thought I'd see if anyone had any tips.

ERROR in ./src/marketing/data/markdown/terms.md
Module build failed (from ../../.yarn/__virtual__/markdown-loader-virtual-b93c1fc2dc/0/cache/markdown-loader-npm-8.0.0-8cc869e04f-c5f878a24a.zip/node_modules/markdown-loader/src/main.cjs):
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/www/app/.yarn/__virtual__/markdown-loader-virtual-b93c1fc2dc/0/cache/markdown-loader-npm-8.0.0-8cc869e04f-c5f878a24a.zip/node_modules/markdown-loader/src/loader.js' imported from /www/app/.yarn/__virtual__/markdown-loader-virtual-b93c1fc2dc/0/cache/markdown-loader-npm-8.0.0-8cc869e04f-c5f878a24a.zip/node_modules/markdown-loader/src/main.cjs
  at new NodeError (internal/errors.js:322:7)
  at finalizeResolution (internal/modules/esm/resolve.js:308:11)
  at moduleResolve (internal/modules/esm/resolve.js:731:10)
  at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:842:11)
  at Loader.resolve (internal/modules/esm/loader.js:89:40)
  at Loader.getModuleJob (internal/modules/esm/loader.js:242:28)
  at Loader.import (internal/modules/esm/loader.js:177:28)
  at importModuleDynamically (internal/modules/cjs/loader.js:1028:27)
  at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14)
  at Object.<anonymous> (/www/app/.yarn/__virtual__/markdown-loader-virtual-b93c1fc2dc/0/cache/markdown-loader-npm-8.0.0-8cc869e04f-c5f878a24a.zip/node_modules/markdown-loader/src/main.cjs:6:22)

WCByrne avatar Feb 01 '22 21:02 WCByrne