I have an error it says Errpr:Cannot find module '@babel/register'

node:internal/modules/cjs/loader:936
throw err;
^

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

  • C:\Users\user\Desktop\mflix handout\mflixproject\index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (C:\Users\user\Desktop\mflix handout\mflixproject\index.js:1:1)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [ ‘C:\Users\user\Desktop\mflix handout\mflixproject\index.js’ ]
    }

I have tried all possible solutions but to no avail

Hi @Ganje_Blerence_Hanma, welcome to the community :wave: .
Can you please take a look at this discussion?

Hopefully, it will fix the issue.

If you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
MongoDB

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.