I am new to React and started to create a new app, however for some reasons when i try to start the app through the terminal i get the error as shown on the title.
Please note that I have already added .babelrc to my app folder; See it below:
//.babelrc
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}
{
"env": {
"test": { "presets": ["react-app"] }
}
}
{
"plugins": ["react-html-attrs"]
}
I have also added babel.config.js but unsure whether this is actually doing anything:
//babel.config.js
module.exports = {
presets:[
"@babel/preset-env",
"@babel/preset-react"
]
}
Please beware that I am currently using a windows Pc;
Any suggestion would be greatly appreciated.
Thanks.