Monaco-editor: Error: Cannot find module 'monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands'

Created on 25 Dec 2019  路  1Comment  路  Source: microsoft/monaco-editor

Error: Cannot find module 'monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.resolve (internal/modules/cjs/helpers.js:33:19)
at resolveMonacoPath (/Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@monaco-editor-webpack-plugin/out/index.js:26:20)
at use.options.pre.featurePaths.map (/Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@monaco-editor-webpack-plugin/out/index.js:161:63)
at Array.map ()
at createLoaderRules (/Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@monaco-editor-webpack-plugin/out/index.js:161:43)
at MonacoEditorWebpackPlugin.apply (/Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@monaco-editor-webpack-plugin/out/index.js:80:23)
at Compiler.apply (/Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@tapable/lib/Tapable.js:375:16)
at webpack (/Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@webpack/lib/webpack.js:33:19)
at err (/Volumes/wind_ssd/project/web-project/ems-user-web/build/build.js:24:3)
at next (/Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@rimraf/rimraf.js:83:7)
at CB (/Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@rimraf/rimraf.js:119:9)
at /Volumes/wind_ssd/project/web-project/ems-user-web/node_modules/[email protected]@rimraf/rimraf.js:145:14
at FSReqWrap.oncomplete (fs.js:153:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:prod: cross-env NODE_ENV=production node build/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wind/.npm/_logs/2019-12-25T13_45_44_287Z-debug.log

monaco-editor version: 0.17.1
Browser: chrome
OS: macos
Playground code that reproduces the issue:

npm run build

Most helpful comment

Attempt to upgrade "monaco-editor": "0.19.0"

>All comments

Attempt to upgrade "monaco-editor": "0.19.0"

Was this page helpful?
0 / 5 - 0 ratings