Forkify - Parcel problem fix

This issue has been tracked since 2022-08-19.

Forkify had problem when - npm run

cant run with "main": "index.html", in package.json

i change it to index.js and it run perfectly.

akozdev wrote this answer on 2022-09-21

Thanks for sharing a solution 👍
You can also completely remove this line main: "index.html" from package.json. Parcel uses main as the output file for libraries. NPM adds this line to package.json by default, but we don't need it in this case, because we're building a standalone project, and not a library.

alexanderchilari wrote this answer on 2022-09-24

Thanks for sharing a solution 👍 You can also completely remove this line main: "index.html" from package.json. Parcel uses main as the output file for libraries. NPM adds this line to package.json by default, but we don't need it in this case, because we're building a standalone project, and not a library.

For me deleting worked, thanks

More Details About Repo
Owner Name jonasschmedtmann
Repo Name complete-javascript-course
Full Name jonasschmedtmann/complete-javascript-course
Language JavaScript
Created Date 2018-06-14
Updated Date 2023-03-29
Star Count 12137
Watcher Count 850
Fork Count 14403
Issue Count 153

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date