getting some odd stuff happening during the build of static html pages after running gatsby build:
RN:RYKR rchrdnsh$ gatsby build
success open and validate gatsby-configs - 0.060s
success load plugins - 1.304s
success onPreInit - 0.010s
success delete html and css files from previous builds - 0.022s
success initialize cache - 0.006s
success copy gatsby files - 0.046s
success onPreBootstrap - 0.011s
success createSchemaCustomization - 0.006s
success source and transform nodes - 0.445s
success building schema - 0.262s
success createPages - 0.063s
success createPagesStatefully - 0.084s
success onPreExtractQueries - 0.002s
success update schema - 0.019s
success extract queries from components - 0.589s
success write out requires - 0.006s
success write out redirect data - 0.002s
success Build manifest and related icons - 0.104s
success onPostBootstrap - 0.113s
⠀
info bootstrap finished - 6.045s
⠀
success Building production JavaScript and CSS bundles - 7.919s
success run queries - 8.031s - 11/11 1.37/s
[ ] 0.000 s 0/36 0% Building static HTML for pages
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
[ 0, 1, 2, 3 ]
[ 0, 1, 2, 3 ]
[
0, 1, 2, 3,
4, 5, 6, 7
]
[ 0, 1, 2, 3, 4 ]
[
0, 1, 2, 3, 4,
5, 6, 7, 8
]
[
0, 1, 2, 3, 4, 5,
6, 7, 8, 9, 10, 11,
12, 13, 14
]
[ 0, 1, 2, 3 ]
[
0, 1, 2, 3,
4, 5, 6, 7
]
[ 0, 1, 2, 3 ]
[
0, 1, 2, 3,
4, 5, 6, 7
]
undefined
undefined
undefined
undefined
[ 0, 1, 2 ]
[ 0, 1 ]
[ 0, 1 ]
[ 0, 1 ]
[ 0, 1 ]
[
0, 1, 2, 3,
4, 5, 6, 7
]
[ 0, 1 ]
[ 0, 1 ]
[
0, 1, 2, 3,
4, 5, 6, 7
]
[
0, 1, 2, 3,
4, 5, 6
]
[ 0, 1 ]
[ 0, 1 ]
[
0, 1, 2, 3, 4, 5, 6,
7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20,
21
]
[ 0, 1, 2, 3, 4, 5 ]
[ 0, 1 ]
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 0, 1 ]
[ 0 ]
[ 0, 1 ]
[ 0 ]
[ 0, 1 ]
[ 0 ]
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
success Building static HTML for pages - 2.126s - 36/36 16.94/s
Generated public/sw.js, which will precache 9 files, totaling 540205 bytes.
success onPostBuild - 0.080s
info Done building in 16.366517534 sec
...no idea where to even start here...
...hot re-loading also seems to be broken for me...
Can you create a repro for this? It's very difficult to help from the logs alone.
hmmmm...this is the repo:
https://github.com/rchrdnsh/RYKR
a repro will take me a while...i'll try to do that in the next few days...
Probably a console.log that was accidentally committed. I'll have a look.
Can you file a separate issue for hot loading, if that's still an issue? That's unrelated to this. Please also put some more information about your runtime etc for that issue. Cheers.
interesting, so console.logging is a no for Gatsby? not something I should do then? Also, the odd numbers are gone but I'm still getting a bunch of undefined...and how did you possible know to find that? That might have taken me weeks to unearth...
ahhh! found it! looking for console.logs and I found them! Yay!!!
Thank you very @pvdz :-)
Your welcome.
how did you possible know to find that? That might have taken me weeks to unearth...
Most editors have a search function. I searched for "console.log" in your files.
You can use console.log, and then you'll get exactly what you asked for. This is standard stuff, for Gatby and for JS.
Most helpful comment
--> https://github.com/rchrdnsh/RYKR/blob/master/src/components/Grid.js#L151