You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Executing task: npm run serve <
> @dgiot/dgiot-amis-editor@1.0.1 serve
ERROR Failed to compile with 2 errors 14:39:22
error in ./node_modules/monaco-editor/esm/vs/language/html/monaco.contribution.js
Module parse failed: Unexpected token (130:11)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| dispose() {
| onLanguageListener.dispose();
> mode?.dispose();
| mode = void 0;
| }
@ ./node_modules/monaco-editor/esm/vs/editor/editor.main.js 4:0-46
@ ./node_modules/amis/lib/components/Editor.js
@ ./node_modules/amis-editor/dist/index.min.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DgiotAmisEditor/src/DgiotAmisEditor.vue?vue&type=script&lang=js&
@ ./packages/DgiotAmisEditor/src/DgiotAmisEditor.vue?vue&type=script&lang=js&
@ ./packages/DgiotAmisEditor/src/DgiotAmisEditor.vue
@ ./packages/DgiotAmisEditor/index.js
@ ./packages/index.js
@ ./examples/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.93:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./examples/main.js
error in ./node_modules/monaco-editor/esm/vs/language/typescript/tsMode.js
Module parse failed: Unexpected token (686:30)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| const tags = [];
> if (entry.kindModifiers?.indexOf("deprecated") !== -1) {
| tags.push(monaco_editor_core_exports.languages.CompletionItemTag.Deprecated);
| }
@ ./node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution.js 232:11-29
@ ./node_modules/monaco-editor/esm/vs/editor/editor.main.js
@ ./node_modules/amis/lib/components/Editor.js
@ ./node_modules/amis-editor/dist/index.min.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/DgiotAmisEditor/src/DgiotAmisEditor.vue?vue&type=script&lang=js&
@ ./packages/DgiotAmisEditor/src/DgiotAmisEditor.vue?vue&type=script&lang=js&
@ ./packages/DgiotAmisEditor/src/DgiotAmisEditor.vue
@ ./packages/DgiotAmisEditor/index.js
@ ./packages/index.js
@ ./examples/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.93:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./examples/main.js
The text was updated successfully, but these errors were encountered:
node version
v16.14.2
The text was updated successfully, but these errors were encountered: