Parcel: length of undefined

Created on 20 Jun 2020  路  6Comments  路  Source: parcel-bundler/parcel

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

Bug Waiting

Most helpful comment

All 6 comments

@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 :

  • remove my global parcel installation, (yarn global remove parcel-bundler)
  • install parcel locally (yarn add --dev parcel@next)
  • add "start": "parcel src/index.html" in scripts of package.json
  • use yarn start to run parcel (since the global parcel command is not available anymore)

@arthursw I dont have parcel installed globally

Was this page helpful?
0 / 5 - 0 ratings

Related issues

donaldallen picture donaldallen  路  3Comments

jsftw86 picture jsftw86  路  3Comments

466023746 picture 466023746  路  3Comments

davidnagli picture davidnagli  路  3Comments

Niggler picture Niggler  路  3Comments