Babel BrowsersListError on npm start

Hello everyone,

I am getting the following error on running npm start:

 c:\Users\Study\Desktop\Code\mongojsproject\mflix-js\node_modules\@babel\core\lib\config\full.js:135
      name: 'BrowserslistError',
      message: '[BABEL] c:\\Users\\Study\\Desktop\\Code\\mongojsproject\\mflix-js\\src\\index.js: Unknown browser query `basedir=$(dirname "$(echo "$0" | sed -e \'s`. Maybe you are using old Browserslist or made typo in query. (While processing: "c:\\\\Users\\\\Study\\\\Desktop\\\\Code\\\\mongojsproject\\\\mflix-js\\\\node_modules\\\\@babel\\\\preset-env\\\\lib\\\\index.js")',
      browserslist: true
    }

I am using Windows 10 and Node v12.9.1. Any help will be appreciated. Thanks in advance.

Hi @Kushan_63152,

I am looking into this.

Kanika

Hi @Kushan_63152,

Does that mean when you run npm start, it exits with this error, or when you run localhost:5000 in a browser?

Also, a full error screenshot would help.

Kanika

Hi Kanika,

Yes, when I run npm start , the app crashes with this error. I’ve attached a full screenshot below:

Hi @Kushan_63152,

Thank you so much for this information. To know more, can you please share the output when you run npm install ?

Kanika

Hi Kanika,

I’ve posted the screenshots for npm install below:

Hi @Kushan_63152,

I have forwarded this to my team and they will get back to you in sometime. :slight_smile:

Kanika

Hi @Kushan_63152,

Please share the contents of the .env file.

Kanika