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.
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.
Thanks for sharing a solution
👍 You can also completely remove this linemain: "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
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 |
Issue Title | Created Date | Updated Date |
---|