if your package.json() file contains main then remove that and add "start": "parcel", "build": "parcel build" under the scripts section then run 1.npx parcel build index.html 2.npx parcel index.html