Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Mar 28 10:06
    raimannma closed #206
  • Mar 27 23:03
    missionz3r0 edited #211
  • Mar 27 22:51
    christianechevarria closed #211
  • Mar 27 22:51
    christianechevarria closed #212
  • Mar 27 22:51

    christianechevarria on master

    #211 Fix Made getFittest and g… (compare)

  • Mar 27 22:51
    christianechevarria closed #214
  • Mar 27 22:50

    christianechevarria on master

    #212 Fix Removed incorrect che… (compare)

  • Mar 27 22:50
    christianechevarria closed #213
  • Mar 27 22:48
    christianechevarria synchronize #214
  • Mar 27 22:47
    christianechevarria synchronize #213
  • Mar 27 22:45

    christianechevarria on master

    HOTFIX: Adding brackets (compare)

  • Mar 27 22:45
    christianechevarria closed #210
  • Mar 27 22:45
    christianechevarria closed #209
  • Mar 27 21:27
    missionz3r0 opened #214
  • Mar 27 21:26
    missionz3r0 opened #213
  • Mar 27 21:10
  • Mar 27 18:55
    missionz3r0 opened #212
  • Mar 27 18:49
    missionz3r0 opened #211
  • Mar 26 21:20
    raimannma opened #210
  • Mar 26 21:18
    raimannma closed #207
missionz3r0
@missionz3r0
Yes. That part I get, but the dist file in the repository and the one I built has mentions of parcel. But the one in the cdn doesn't. Which I find odd.
Manuel Raimann
@raimannma
image.png
Version 0.1.0 adds the parcel-bundler
but the cdn only uses version 0.3.8, which is unfortunately older
missionz3r0
@missionz3r0
0.3.8 is older than 0.1.0?
Manuel Raimann
@raimannma
yes :-(
i didn't even noticed until now
missionz3r0
@missionz3r0
I feel like I don't understand versioning right. Isn't the bigger number suppose to be the newer version?
Manuel Raimann
@raimannma
yes it should be like that
i think luis just wants to make a new starting point
missionz3r0
@missionz3r0
Oh, I see. That makes sense then.
Manuel Raimann
@raimannma
so he named the other version v0.3.18-nightly
And started again with v0.1.0
missionz3r0
@missionz3r0
Though uh, that doesn't solve the oddity of the websocket.
I feel like parcel is trying to do something like what webpack does with live-reloading. But I don't really want that for a production build.
Manuel Raimann
@raimannma
i think you are right. The production flag could be set to false
image.png
try to set the isProduction flag to true and try it again
missionz3r0
@missionz3r0
The file you sent doesn't have the websocket error anymore
Manuel Raimann
@raimannma
yes but it uses my new typescript version
missionz3r0
@missionz3r0
Getting that regeneratorRuntime not defined still though
Manuel Raimann
@raimannma
which is highly experimental
missionz3r0
@missionz3r0
Alright, give me a second to build it myself with that flag set
Hrm, even with that flag set it's still trying to create a websocket connection
Manuel Raimann
@raimannma

AAAAAA

replace isProduction with production

image.png
missionz3r0
@missionz3r0
Gotcha!
Manuel Raimann
@raimannma
Thats how parcel-bundler gets the option
if that doesn't work I have no glue
missionz3r0
@missionz3r0
Yep that did it. It's no longer trying to create a websocket
Manuel Raimann
@raimannma

ok, I would create a issue and pull request

Or do you want to do that ?

missionz3r0
@missionz3r0
I can do that.
Playing a bit of pathfinder right now. So will be doing it in a bit.
Manuel Raimann
@raimannma
Ok, thank you.
missionz3r0
@missionz3r0
It'd probably be better to have a seperate command for building for dev and production
Manuel Raimann
@raimannma
yes would be better, we would just need 4 scripts in the script folder 2 for production and 2 for dev
missionz3r0
@missionz3r0
Correct. The difference between them would be minimal though. Just be the flag.
Though, I'm stilling getting this error.
image.png
Manuel Raimann
@raimannma
thats an issue at parcel-bundler has to do with async functions
missionz3r0
@missionz3r0
Woof, that's on old issue. From 2017
Manuel Raimann
@raimannma
wrong link :-(
they have a solution
missionz3r0
@missionz3r0
Interesting. So may need to include the fix in my pull request
Manuel Raimann
@raimannma

You should try it out.

Don't know if that does the trick

missionz3r0
@missionz3r0
I will once this pathfinder encounter ends, I'll get to coding.
Christian Echevarria
@christianechevarria

@christianechevarria Good to "see" you're on the mend!

Thanks @tracycollins, it's been a journey but coming back strong bit by bit

@missionz3r0 @raimannma Just saw the messages of parcel issues and whatnot, it did seem that @luiscarbonell was trying out a rebuild, not very familiar with parcel myself but if you guys like it we can go with it. Webpack seems to work well enough though
missionz3r0
@missionz3r0
I'm not too familiar with parcel myself. If it works it works, just wanted to figure out what exactly was going wrong.