Meteor missing modules

hi everyone can you help me with this error

PS C:\Users\Ashraf\Desktop\app> meteor add-platform android
node:internal/modules/cjs/loader:1228
throw err;
^

Error: Cannot find module ‘@babel/parser’
Require stack:

  • C:\Users\Ashraf\node_modules@meteorjs\reify\lib\parsers\babel.js
  • C:\Users\Ashraf\AppData\Local.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\static-assets\server\runtime.js
  • C:\Users\Ashraf\AppData\Local.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\tool-env\install-reify.js
  • C:\Users\Ashraf\AppData\Local.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\tool-env\install-babel.js
  • C:\Users\Ashraf\AppData\Local.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
    at Module._load (node:internal/modules/cjs/loader:1051:27)
    at Module.require (node:internal/modules/cjs/loader:1311:19)
    at mod.require (C:\Users\Ashraf\node_modules@meteorjs\reify\lib\runtime\index.js:30:33)
    at require (node:internal/modules/helpers:179:18)
    at Object. (C:\Users\Ashraf\node_modules@meteorjs\reify\lib\parsers\babel.js:3:21)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions…js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Mp.load (C:\Users\Ashraf\AppData\Local.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\static-assets\server\runtime.js:37:33) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [
    ‘C:\Users\Ashraf\node_modules\@meteorjs\reify\lib\parsers\babel.js’,
    ‘C:\Users\Ashraf\AppData\Local\.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\static-assets\server\runtime.js’,
    ‘C:\Users\Ashraf\AppData\Local\.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\tool-env\install-reify.js’,
    ‘C:\Users\Ashraf\AppData\Local\.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\tool-env\install-babel.js’,
    ‘C:\Users\Ashraf\AppData\Local\.meteor\packages\meteor-tool\3.0.3\mt-os.windows.x86_64\tools\index.js’
    ]
    }

Node.js v20.17.0

1 Like

We have identified this issue, and as part of next release we plan to have a fix for it. I stronly think this is related wth Meteor 3 add-platform android breaks meteor installation on windows 11, even outputing different module error.

Thanks for the report.

1 Like