invalid version
sunitakodali opened this issue · comments
Hello @sunitakodali !
The example should be ran on http://localhost:1234
by default and not port 8000. (as per parcel documentation https://parceljs.org/features/cli/)
To run the example, did you run npm install
then npm start
? A quick google search found that the error you are seeing is a problem with the parcel-bundler
version but in our package-lock.json
file, we should be using version 1.6.1
so I am not sure if you are running a newer version of this.
Yes, I did run npm install and then did npm start.
Ahh, okay I see what the problem is now. We were not aware that parcel-bundler
v1 was deprecated so we will need to look into updating this package to v2.
If you install parcel-bundler
v1 does everything work still? I can have a look at getting v2 working at a later time 😄
parcel-bundle v1 - No it doesn't.
parcel-bundle v1 - No it doesn't.
You will need to use the parcel-bundler version outlined in the package.json
which is exactly 1.6.1 otherwise there may be issues.
To resolve your problem fully, we would need to update all of our examples to use parcel-bundler
v2 by looking at the migration guide they provided. Always happy to review a PR into this repository, otherwise it may take some time for the update to happen on our end.
I got it resolved. Thanks once again.
I am glad to hear that @sunitakodali! What was the problem so that others in the future can refer to this?
npm i parcel-bundler
npm install
npm start
I did the above steps.