sfquickstarts icon indicating copy to clipboard operation
sfquickstarts copied to clipboard

Images not rendering

Open arkuyucu opened this issue 1 year ago • 2 comments

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

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

arkuyucu avatar Sep 13 '24 19:09 arkuyucu

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

iamontheinet avatar Sep 13 '24 19:09 iamontheinet

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

sfc-gh-erhodes avatar Sep 26 '24 00:09 sfc-gh-erhodes

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 [email protected]
npm install [email protected] --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.

nicdavidson avatar Nov 20 '24 22:11 nicdavidson