materiahq / ngx-monaco-editor

Monaco Editor Library for Angular v6 and above
MIT License
159 stars 35 forks source link

Demo project doesn't work #94

Open alsoicode opened 2 years ago

alsoicode commented 2 years ago

When attempting to run the demo project using Node 14 I receive:

Your global Angular CLI version (13.1.2) is greater than your local version (13.0.3). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
An unhandled exception occurred: The requested module '@angular/compiler' does not provide an export named 'SafeCall'
See "/private/var/folders/_r/3tytrp0909scsyycxlnbqmsc0000gq/T/ng-bbjZki/angular-errors.log" for further details.
alsoicode commented 2 years ago

To fix:

rm -rf node_modules
rm package-lock.json
npm cache clean --force
npm i -g npm-check-updates
ncu -u
npm install