molecule icon indicating copy to clipboard operation
molecule copied to clipboard

bug: start fails because of missing file purify.es.js.map

Open rolandshacks opened this issue 2 years ago • 2 comments

Describe the bug

npm run start fails with the following message:

Compiled with warnings.

Failed to parse source map from '/home/..../work/molecule-demo/node_modules/monaco-editor/esm/vs/base/browser/dompurify/purify.es.js.map' file: Error: ENOENT: no such file or directory, open '/home/.../work/molecule-demo/node_modules/monaco-editor/esm/vs/base/browser/dompurify/purify.es.js.map'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in ./node_modules/monaco-editor/esm/vs/base/browser/dompurify/dompurify.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/.../work/molecule-demo/node_modules/monaco-editor/esm/vs/base/browser/dompurify/purify.es.js.map' file: Error: ENOENT: no such file or directory, open '/home/.../work/molecule-demo/node_modules/monaco-editor/esm/vs/base/browser/dompurify/purify.es.js.map'

webpack compiled with 1 warning

Versions

  • OS: Ubuntu 20.04.5 LTS
  • Browser: Firefox
  • Molecule: 1.1.1
  • freshly generated and unmodified molecule-demo, 0.1.0

To reproduce

npx @dtinsight/create molecule-demo npm run start

Expected

Starting development server

Actually happening

Error message, ide not running

rolandshacks avatar Sep 15 '22 08:09 rolandshacks

It's a known problem with [email protected], and we plan to resolve it in next version.

BTW, as far as i known, it's a warning rather than error which means it won't make IDE breakdown. So would you mind check it again to make sure It indeed is the reason why IDE breakdown?

mortalYoung avatar Sep 15 '22 11:09 mortalYoung

Refer to https://github.com/microsoft/monaco-editor/issues/2758

wewoor avatar Sep 26 '22 06:09 wewoor