My meteor application stopped compiling, overnight. The only thing I’ve changed was reinstalling my node_modules
, no updates or anything like that.
Does someone have an idea how to fix the error:
Requires Babel "^7.0.0-beta.41", but was loaded with "7.0.0-beta.38"
? I’ve tried upgrading @babel/core
in package.json
to beta.41
as well as beta.42
, but without any luck.
I’ve also tried upgrading ecmascript
and babel-compiler
, but that also didn’t seem to help.
=> Errors prevented startup:
While processing files with ecmascript (for target web.browser):
c:\src\node_modules\@babel\helper-plugin-utils\lib\index.js:60:11: [BABEL] imports/lib/config.js: Requires Babel "^7.0.0-beta.41", but was loaded with "7.0.0-beta.38". You'll need to update your @babel/core
version. (While processing: "base$1")
at throwVersionError (c:\src\node_modules\@babel\helper-plugin-utils\lib\index.js:60:11)
at Object.assertVersion (c:\src\node_modules\@babel\helper-plugin-utils\lib\index.js:11:11)
at c:\src\node_modules\@babel\preset-react\lib\index.js:21:7
at c:\src\node_modules\@babel\helper-plugin-utils\lib\index.js:16:12