You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys
I have installed the parcel, but when I try to start it as the video says, I get an error.
It says the main file format should not be HTML. However, the video changes the main part in the JSON.package to index.html.
Hi guys
I have installed the parcel, but when I try to start it as the video says, I get an error.
It says the main file format should not be HTML. However, the video changes the main part in the JSON.package to index.html.
How do I fix it ??
Server running at http://localhost:1234
🚨 Build failed.
@parcel/core: Unexpected output file type .html in target
"main"
/Users/nasersobhan/Desktop/Coding/The complete JavaScript Course Udemy/complete-javascript-course-master/18-forkify/starter/package.json:5:11
4 | "description": "Recipe application",
💡 The "main" field is meant for libraries. If you meant
to output a .html file, either remove the "main" field
or choose a different target name.
📝 Learn more:
https://parceljs.org/features/targets/#library-targets
The text was updated successfully, but these errors were encountered: