trufflesuite / trufflesuite.github.io

Staging Repo of Build Artifacts for Truffle Suite. Find the source at https://github.com/trufflesuite/trufflesuite.com
https://www.trufflesuite.com
34 stars 161 forks source link

Images not displaying after running npm run dev? #224

Closed mudkipium closed 6 years ago

mudkipium commented 6 years ago

I feel like this is a bit of a broad question, but I'm stuck on the last step of the pet shop tutorial. It seems that I've copied the code from the tutorial 100% but the images aren't loading when I check localhost:3000. Is anyone else having this issue?

My repo for this is here: https://github.com/mudkipium/pet-shop-tutorial

The tests run fine and MetaMask seems to be configured properly (I can see the ETH in the account and it matches what shows in Ganache), so I'm assuming it's somewhere in app.js (since it's just the front-end part that isn't working out). Any ideas?

Thank you!

mudkipium commented 6 years ago

Just kidding, I fixed it! It's my first time writing JS so it was something silly >.< Thanks anyway!

vgangodi commented 4 years ago

@mudkipium hi, I struck at the same issue. can you please advice me on this. how can I fix this issue. I really appreciate it. Thank you.

mudkipium commented 4 years ago

I fixed it in this commit :) https://github.com/mudkipium/pet-shop-tutorial/commit/fa9d6c81a94a8e11ff0b5bda4e8cc7fc93e6b368

vgangodi commented 4 years ago

@mudkipium Hi, Thank you for your reply. I checked my app.js file and cross referenced with the link that you mentioned above, everything looks same, still I'm getting blank display. I couldn't find where I did mistake, can you help with this. here is the code https://github.com/vgangodi/Blockchain/tree/master/petshop

Thank you very much.