I am using below versions for monaco editor and its plugin
"monaco-editor": "0.19.0",
"monaco-editor-webpack-plugin": "1.8.1"
I am getting below error
...\node_modules\webpack-cli\bin\cli.js:265
throw err;
^
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 (...\node_modules\v8-compile-cache\v8-compile-cache.js:166:23)
at resolveMonacoPath (...\node_modules\monaco-editor-webpack-plugin\out\index.js:26:20)
at use.options.pre.featurePaths.map (...\node_modules\monaco-editor-webpack-plugin\out\index.js:161:63)
at Array.map (<anonymous>)
at createLoaderRules (...\node_modules\monaco-editor-webpack-plugin\out\index.js:161:43)
at MonacoEditorWebpackPlugin.apply (...\node_modules\monaco-editor-webpack-plugin\out\index.js:80:23)
at webpack (...\node_modules\webpack\lib\webpack.js:47:13)
at processOptions (...\node_modules\webpack-cli\bin\cli.js:256:16)
at yargs.parse (...\node_modules\webpack-cli\bin\cli.js:373:3)
at Object.parse (...\node_modules\webpack-cli\node_modules\yargs\yargs.js:567:18)
at ...\node_modules\webpack-cli\bin\cli.js:49:8
at Object.<anonymous> (...\node_modules\webpack-cli\bin\cli.js:375:3)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (...\node_modules\webpack\bin\webpack.js:156:2)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
error: Error: webpack failed! [code 1]
I cannot find any recent issue or Stackoverflow page for this error with given version.
Could you please help?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too