Snowflake-Labs / sfquickstarts

Follow along with our tutorials to get you up and running with Snowflake.
Apache License 2.0
351 stars 656 forks source link

Images not rendering #1577

Open arkuyucu opened 2 months ago

arkuyucu commented 2 months ago

Describe the bug Images that are referred in guides doesnt appear in the guide web pages URL of where you see the bug http://localhost:8000/guide/cloudtrail_log_ingestion/index.html?index=..%2F..index#5 To Reproduce I open the guide and the images doesnt appear

Expected behavior Images that are referred in guides doesnt appear in the guide web pages

Screen Shot 2024-09-13 at 22 03 36

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

iamontheinet commented 2 months ago

Yes, this is a known issue related to Gulp 5.0 and we're looking into resolving it.

sfc-gh-erhodes commented 1 month ago

I'm also having this issue, thanks for reporting and acknowledging it. I was going crazy.

nicdavidson commented 2 days ago

So I stumbled into this issue as well, following the getting started instructions to the letter. @iamontheinet is correct in that this is a gulp version issue, my guess is an incompatibility with the required version of node (14 - set here, but I am not a node/front end guy so I am really just guessing after multiple hours of messing with it.

However, I was able to reliably resolve this issue by uninstalling and down grading gulp:

cd site

# Remove old versions
npm uninstall -g gulp
npm uninstall gulp

# Install correct versions
npm install -g gulp-cli@2.3.0
npm install gulp@4.0.2 --save-dev

# Clean and reinstall
rm -rf node_modules package-lock.json
rm -rf sfguides/dist/* sfguides/build/*
npm install

# Verify versions
gulp --version

# Try running the server
npm run serve

Not sure if this is the "right" way or not, but it worked, and I have image rendering working now.