molecule
molecule copied to clipboard
bug: start fails because of missing file purify.es.js.map
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
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?
Refer to https://github.com/microsoft/monaco-editor/issues/2758