-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
monaco-editor-webpack-plugin #1623
Comments
Also running into this, presumably since upgrading to the latest version of the monaco-editor module. |
Maybe he need to update the monaco-editor-webpack-plugin plug-in or Or he should adjust v0.18.1 compatibility . if you resolve it please tell me |
Same here, with monaco-editor-webpack-plugin v1.7.0, it also doesn't build with webpack in dev mode. |
i'm try to down monaco-editor v0.17.0 . it has no warning. |
This isn't a bug with the webpack plugin, it's an issue with Monaco's (actually try {
etwModule = require("@microsoft/typescript-etw");
} catch (e) {
etwModule = undefined;
} Monaco's publishing process is supposed to strip out Until the fix gets merged and published, for this specific case you can add something like this to your webpack config as a workaround:
This tells webpack that |
Fixed via microsoft/monaco-typescript#49 |
monaco-editor v0.18.1
npm run project it will be warnings in operation How to resolve this warning
WARNING in ./node_modules/_monaco-editor@0.18.1@monaco-editor/esm/vs/language/typescript/lib/typescriptServices.js
Module not found: Error: Can't resolve '@microsoft/typescript-etw' in 'D:\Desktop\vue-backend-dev\node_modules_monaco-editor@0.18.1@monaco-editor\esm\vs\language\typescript\lib'
@ ./node_modules/_monaco-editor@0.18.1@monaco-editor/esm/vs/language/typescript/lib/typescriptServices.js
@ ./node_modules/_monaco-editor@0.18.1@monaco-editor/esm/vs/language/typescript/tsWorker.js
@ ./node_modules/_monaco-editor@0.18.1@monaco-editor/esm/vs/language/typescript/ts.worker.js
The text was updated successfully, but these errors were encountered: