Problems using Parcel

All of a sudden I'm getting a lot of errors trying to run a parcel project that was fine before. I switched all the files to a new laptop and I'm not sure if I ran npm run dev on the new laptop or not. I 'm getting errors for js modules, sass files, and the following:
Server running at http://localhost:1234
🚨 No entries found.
Server running at http://localhost:1234
🚨 No entries found.
I also got some kind of windows popup about allowing something to run which I clicked "Allow". I uninstalled Parcel and then installed it again but still the same problem. Does anyone know what is going on? It was working before. I wanted to see if Parcel would load .env variables.
3 Replies
Rägnar O'ock
Rägnar O'ock•3y ago
- did you install your dependencies ? npm i - how did you transfer the files ? if it was a copy paste, did you make sure all files got transferred ? if it was via git, did you make sure all the files where added to the repo, pushed and that you were on the right branch/commit? did you made sure the script is reading the right config file ( I have no idea how Parcel work)
Kernix
KernixOP•3y ago
That;s right, I didn't transfer the files - I used git clone I'm getting all sorts of errors and being asked for administrator access from Windows. I deleted node modules and used npm install but still getting the errors Okay, I must have did something wrong - instead of having parcel installed I had parcel-bundler. I don't know how that happened but I'm good now - sorry to waste your time
Rägnar O'ock
Rägnar O'ock•3y ago
don't worry, helping someone is never a waste of time
Want results from more Discord servers?
Add your server