When I add "@monaco-editor/loader": "1.2.0" to my package.json and try to run the application (via grunt auto-build), I receive the following error:
Error: Couldn't find preset "@babel/preset-env" relative to directory "<project>/node_modules/@monaco-editor/loader" while parsing file: <project>/node_modules/@monaco-editor/loader/lib/cjs/index.js
I have "babel-preset-env": "^1.6.1" in my dependencies. Any idea what I am missing?
When I add
"@monaco-editor/loader": "1.2.0"
to my package.json and try to run the application (viagrunt auto-build
), I receive the following error:Error: Couldn't find preset "@babel/preset-env" relative to directory "<project>/node_modules/@monaco-editor/loader" while parsing file: <project>/node_modules/@monaco-editor/loader/lib/cjs/index.js
I have
"babel-preset-env": "^1.6.1"
in my dependencies. Any idea what I am missing?