Reputation: 43
beginner web dev here, first time using parcel and sass.
So, I have the parcel set up, but when I change and save the src/index.html
, terminal shows me this error, instead of changing the dist/index.html
.
It is very weird because in the error, there is supposed to be a file called dist/index.html.9424.5
, which really does not exist in my case.
Here is my package.json
set up:
{
"name": "calculator_project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "parcel src/index.html",
"build": "parcel build src/index.html"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@parcel/transformer-sass": "^2.7.0",
"parcel": "^2.7.0",
"sass": "^1.55.0"
}
}
Also, this is my folder structure and html
I will be very thankful for any tips or solutions. Also, I am very sorry if I documented this error incorrectly, I am still pretty new to this.
Thanks for reading and help!
Upvotes: 2
Views: 744