Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

parceljs

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!

like image 909
rome Avatar asked May 02 '19 08:05

rome


People also ask

What does parcel do in JavaScript?

Parcel supports many languages and file types out of the box, from web technologies like HTML, CSS, and JavaScript, to assets like images, fonts, videos, and more. And when you use a file type that isn't included by default, Parcel will automatically install all of the necessary plugins and dev dependencies for you!


1 Answers

As above check the directory from which you are working i was inside src and running src/parcel index.html it should be parcel index.html

like image 51
bhoomeendra Avatar answered Sep 16 '22 22:09

bhoomeendra