monaco-languageclient: upgrading to monaco-languageclient version 6 throws command failed error
Hi there,
I’m currently using monaco-languageclient version v5, when I’m upgrading it to v6, it throws command failed error.
it says
error /Users/xxxxx/xxxxxxx/node_modules/monaco-languageclient: Command failed.
Exit code: 127
Command: monaco-treemending
Arguments:
I have added the postinstall
prop under package.json with value monaco-treemending
and also tried manually run npx monaco-treemending
, it prints Monaco-editor was tree-mended
.
however, when I run yarn upgrade monaco-languageclient
, it prints the above command failed error.
any ideas how to solve ?
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 28
@OliverwengFiltered this is finally fixed with: https://www.npmjs.com/package/monaco-languageclient/v/6.0.3
@kaisalmen
all good, thank you for the support and knowledge sharing.
I will be looking forward to the next release !
have a great weekend!
Hi @kaisalmen
the v6.1.0-next.1 is promising, I am able to build it with some minor code changes on my end. I’m logging my changes here in case it helps you folks for additional improvements or for anyone else to see if needed.
vscode-textmate vscode-oniguruma
, so I manually added by executingyarn add vscode-textmate vscode-oniguruma -D
MonacoServices
obj under LanguageClientLib is undefined, and then I did some research and realized that I should probably switch toinitServices
, instead of callingMonacoServices.get();
andMonacoServices.install()
appreciate any sight, regarding to those error messages.
Thanks!
My guess is the patch wasn’t applied
@kaisalmen got it, I will wait, i will use the old version for now. Thanks for the heads up @kaisalmen