ryanmurakami / pizza-luvrs

❤️🍕🍕❤️ Demo project for AWS Developer: Getting Started on Pluralsight
114 stars 255 forks source link

Image and name not displayed #6

Closed angelllllll closed 4 years ago

angelllllll commented 7 years ago

Hello Ryan,

When the code is modified via SDK and i tried to create a new pizza , i see that the image is blank and also name of the pizza is shown as ${name}.png in the console.

I am not sure why and also unable to figure it out.

Regards Angel

angelllllll commented 7 years ago

And also after this just to verify i login to my instance and try to open it via ip:3000 and even this does not open and gets timed out.

I expected ip : 3000 to open as it is no where related to the sdk changes which i have done till now.

ryanmurakami commented 7 years ago

Hi @angelllllll, Could you post some more detailed log data or give more details? Thanks! Ryan

angelllllll commented 7 years ago
screen shot 2017-04-30 at 11 40 45 pm screen shot 2017-04-30 at 11 41 04 pm screen shot 2017-04-30 at 11 41 15 pm
angelllllll commented 7 years ago

As told earlier , the images display like this and name that i have created does not show up rather ${name} gets printed.

angelllllll commented 7 years ago

And also when i login to my ec2 instance and try to launch after performing the code changes in SDK it says timed out.

screen shot 2017-04-30 at 11 43 24 pm screen shot 2017-04-30 at 11 45 58 pm
sameerhashmi commented 6 years ago

Hi Ryan, I am having the same problem. Images in S3 beign saved as "${name}.png"

sameerhashmi commented 6 years ago

Resolved the issue. In imageStoreS3.js:

earlier: Key: 'pizzas/${name}.png', fixed:Key: pizzas/${name}.png,

The difference was between the " ' " and " ` " character.