mhl
January 13, 2020, 2:59pm
1
This post is intended to help anyone who runs into the same problem: after updating from 1.8.1 to 1.8.3, I got this error when starting one of my applications:
Cannot find module … node_modules@babel\runtime\hepers\objectSpread2
I tried multiple “meteor updates” but that didn’t fix it. I also tried “meteor update --all-packages”, which did nothing even though there are multiple packages listed with updates available.
What eventually fixed this was “npm update”, which installed “@babel /runtime@7.8.0” – and the problem went away!
Just Update the meteor packages babel-compiler and ecmascript should resolve it, see
opened 05:41AM - 25 Nov 19 UTC
closed 03:01PM - 06 Jan 20 UTC
Hi guys, just upgraded from 1.8.1 to 1.8.2 and got this error message... I have … no clue what to do, please let me know what you think. Thanks!
```
W20191125-00:34:00.625(-5)? (STDERR) /Users/xxx/.meteor/packages/meteor-tool/.1.8.2.139kujy.965el++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/fibers.js:90
W20191125-00:34:00.625(-5)? (STDERR) return fn.apply(this, arguments);
W20191125-00:34:00.626(-5)? (STDERR) ^
W20191125-00:34:00.626(-5)? (STDERR)
W20191125-00:34:00.626(-5)? (STDERR) Error: Cannot find module '/Users/xxx/WEBAPP_ROOT/.meteor/local/build/programs/server/node_modules/@babel/runtime/helpers/objectSpread2'
W20191125-00:34:00.626(-5)? (STDERR) at Function.Module._resolveFilename (module.js:548:15)
W20191125-00:34:00.626(-5)? (STDERR) at Function.Module._load (module.js:475:25)
W20191125-00:34:00.626(-5)? (STDERR) at Module.require (module.js:597:17)
W20191125-00:34:00.626(-5)? (STDERR) at require (internal/module.js:11:18)
W20191125-00:34:00.626(-5)? (STDERR) at Object.require (/Users/xxx/WEBAPP_ROOT/.meteor/local/build/programs/server/boot.js:282:22)
W20191125-00:34:00.626(-5)? (STDERR) at makeInstallerOptions.fallback (packages/modules-runtime.js:618:18)
W20191125-00:34:00.626(-5)? (STDERR) at Module.require (packages/modules-runtime.js:244:14)
W20191125-00:34:00.627(-5)? (STDERR) at Module.moduleLink [as link] (/Users/xxx/.meteor/packages/modules/.0.14.0.n72pre.q41jp++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:52:22)
W20191125-00:34:00.627(-5)? (STDERR) at livedata_connection.js (packages/ddp-client/common/livedata_connection.js:1:26)
W20191125-00:34:00.627(-5)? (STDERR) at fileEvaluate (packages/modules-runtime.js:336:7)
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.
```
Worked for me at least.