Parcel js not working IMPORTANT!

Parcel js not working IMPORTANT!
0

#1

Please i need help, i am working on a webside for a client and parcel js is vital for the project.

I tried to follow after this tutorial Exploring The Parcel Application Bundler - traversy media

But i get this instead


#2

You may want to read the documentat for parcel.js

You can either install it globally and run parcel against your file:

parcel html/index.html

or you can install it locally and add it to your package.json scripts similar to below:

  "scripts": {
    "parcel:dev": "parcel src/index.html",
    "parcel:dev:nocache": "parcel src/index.html --no-cache",
    "parcel:build": "parcel build src/index.html --public-url ./"
  },

There are a few other ways to do it as well.

The documentation for both both parcel and npm should help you resolve your issues so please read them carefully.