https://github.com/parcel-bundler/parcel/issues/4691#issue-630446011
My earlier bug report was closed with no fix but the problem persists and randomly happens so I am opening another bug report hopefully this wont be closed because closing the bug report does not fix the bug itself
@NikosEfthias does it work in Parcel 2?
We're no longer fixing all issues with Parcel 1 as Parcel 2 is probably a lot better already and is what we would like to focus our attention on
I have no idea but I figured when it happens exactly. When I fresh clone the repo after npm i things dont work givin length of undefined however if I do npm i --save parcel-bundler again it works. It is almost like base npm install after cloning does not pull everything needed but when I redownload parcel things just work.
How do I get parcel 2? On the website theres no mention of parcel 2 yet
thanks
I could build with parcel by doing the following steps :
yarn global remove parcel-bundler)yarn add --dev parcel@next)"start": "parcel src/index.html" in scripts of package.jsonyarn start to run parcel (since the global parcel command is not available anymore)@arthursw I dont have parcel installed globally
Most helpful comment
https://v2.parceljs.org/getting-started/webapp/