parceljs

How to fix 'no entries found' on server run in Parcel.js


On trying to run the server with 'parcel index.js':

Server running at http://localhost:1234 🚨 No entries found. at Bundler.bundle (/usr/local/lib/node_modules/parcel-bundler/src/Bundler.js:275:17)

Server is showing a 404 error. I'm having the same problem with all my projects, so I feel like this is a global issue. Everything was working fine on all projects and suddenly this is occurring.

already tried:

  • uninstalling parcel-bundler and reinstalling (globally + locally)

Thanks!


Solution

  • Simple mistake, was using "parcel index.js" when I should have been using "parcel index.html"