Skip to content

npm install parcel or parcel bundler? #2360

Closed
@dgwyer

Description

There seems to be two modules available on npm:

parcel
parcel-bundler

I'm confused as to which one should be used. Is there any difference, and why do both exist if they are the same?

Activity

DeMoorJasper

DeMoorJasper commented on Dec 6, 2018

@DeMoorJasper
Member

They are identical only difference is that plugins usually rely on parcel-bundler, so it's better to use that one.

aaronbeall

aaronbeall commented on Apr 24, 2019

@aaronbeall

I'm still confused why there are two identical modules. You're saying that if you install parcel that bad things can happen with some plugins?

FDiskas

FDiskas commented on Jul 9, 2019

@FDiskas

Question should be still open :ltu:

BBlackwo

BBlackwo commented on Nov 6, 2019

@BBlackwo

Would be much less confusing to just have one

AshotN

AshotN commented on Jan 24, 2020

@AshotN

This really doesn't make sense. The documentation isn't even consistent. Github page says parcel the website says parcel-bundler

mischnic

mischnic commented on Jan 24, 2020

@mischnic
Member

The github page is for Parcel 2, which is only available as parcel. The website are the docs for version 1

AshotN

AshotN commented on Jan 24, 2020

@AshotN

Can there be a banner that explains that the website is for V. 1

I spent a lot of time without figuring that out, it might help some other people.

I can open a separate issue if you like as it seems this one is resolved.

mischnic

mischnic commented on Jan 24, 2020

@mischnic
Member
melissaveraherbst

melissaveraherbst commented on Aug 20, 2021

@melissaveraherbst

Perhaps this may help for anyone who is still confused about parcel vs. parcel-bundler

"parcel" is version 2(new) of parcel and parcel is the module that must be used.
According to the npm site, "parcel-bundler", which is version 1, is deprecated and should no longer be used.


_"This package has been deprecated
Author message:

Parcel v1 is no longer maintained. Please migrate to v2, which is published under the 'parcel' package. See https://v2.parceljs.org/getting-started/migration for details."_

Ali-Dakoumi

Ali-Dakoumi commented on Sep 22, 2022

@Ali-Dakoumi

Since that the docs says you should use npm i parcel, i tried it but faced a lot of problems (gyp errors kind of couldnt find file or python...)

but parcel-bundler worked for me!

Zedt

Zedt commented on Nov 11, 2022

@Zedt

I had similar problems.
Following on from clarification from clumsy-cranberry-1 above
You could do the following:
1- check the versions available:
npm view parcel versions
2- use the latest non-nightly version
eg.
npm i parcel@2.0.0-beta.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      npm install parcel or parcel bundler? · Issue #2360 · parcel-bundler/parcel