I am trying to install parcel as I begin learning React. When I set up my files and try to use parcel in the powershell command line, it gives me this error. I don't know what to do.
Package.json file:
{
"name": "myflix-client",
"version": "1.0.0",
"description": "",
"main": "src/index.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "parcel src/index.html",
"build": "parcel build src/index.html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Drxl95/myFlix-client.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Drxl95/myFlix-client/issues"
},
"homepage": "https://github.com/Drxl95/myFlix-client#readme",
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}
What I have installed:
npm install -g parcel@next
npm install --save react react-dom