[Meteor] Crash on app launch: TypeError: Cannot read property '1' of null at babel-runtime.js (packages/babel-runtime.js:51:13)

Hello,

I cannot launch (meteor run) my meteor app, i’ve tried a lot of thing but still nothing.

It seem to be a problem with babel but not sure.

Here is the problem:

.meteor/local/build/programs/server/boot.js:475
}).run();
   ^

TypeError: Cannot read property '1' of null
    at babel-runtime.js (packages/babel-runtime.js:51:13)
    at fileEvaluate (packages/modules-runtime.js:322:7)
    at Module.require (packages/modules-runtime.js:224:14)
    at require (packages/modules-runtime.js:244:21)
    at packages/babel-runtime.js:101:15
    at packages/babel-runtime.js:108:3
    at .meteor/local/build/programs/server/boot.js:411:36
    at Array.forEach (<anonymous>)
    at .meteor/local/build/programs/server/boot.js:220:19
    at .meteor/local/build/programs/server/boot.js:471:5
    ==> Exited with code: 1

Has anyone an idea ? Thanks in advance.

I resolved the problem by doing:

meteor npm install --save-exact @babel/runtime@7.0.0-beta.55

But now i’ve style another one, the first time meteor always say:

Unable to resolve some modules:

  "simpl-schema" in /home/akio/bestgithubrepos/imports/api/bestrepos.js (web.browser)
  "body-parser" in /home/akio/bestgithubrepos/imports/api/myrepos.js (web.browser)
                                              
If you notice problems related to these missing modules, consider running:
                                              
  meteor npm install --save simpl-schema body-parser

then

Unable to resolve some modules:

  "buffer" in /home/akio/bestgithubrepos/node_modules/safer-buffer/safer.js (web.browser)
  "string_decoder" in /home/akio/bestgithubrepos/node_modules/iconv-lite/encodings/internal.js (web.browser)
  "zlib" in /home/akio/bestgithubrepos/node_modules/body-parser/lib/read.js (web.browser)
  "path" in /home/akio/bestgithubrepos/node_modules/mime-types/index.js (web.browser)
  "querystring" in /home/akio/bestgithubrepos/node_modules/body-parser/lib/types/urlencoded.js (web.browser)
                                              
If you notice problems related to these missing modules, consider running:
                                              
  meteor npm install --save meteor-node-stubs 

If i install them all is ok, but it’s still annoying to have to install them everytime i meteor run, if someone have an idea thanks

I had to downgrade to @babel/runtime 7.0.0-beta.55 as well.

Regarding your other issues, why do you have to install them every time you do meteor run? You should have to install only once, I would think…