localstack-demo icon indicating copy to clipboard operation
localstack-demo copied to clipboard

Demo not working

Open JoelRomero97 opened this issue 2 years ago • 6 comments

image

I'm able to run the steps listed in Getting Started, however, when running rpm run web and trying to click on Create new request nothing seems to be hapening, receiving the request tho:

Screenshot 2022-12-19 at 11 57 45 AM

JoelRomero97 avatar Dec 19 '22 19:12 JoelRomero97

Same here.

I see a bunch of network errors in the console (a bunch because I had the "Auto-refresh" enabled, of course):

spread.js:25          GET https://localhost.localstack.cloud:4566/restapis net::ERR_CONNECTION_REFUSED
(anonymous) @ spread.js:25
e.exports @ spread.js:25
e.exports @ spread.js:25
Promise.then (async)
r.request @ spread.js:25
r.<computed> @ spread.js:25
(anonymous) @ index.js:20
getBaseURL @ Inline Babel script:15
render @ Inline Babel script:53
finishClassComponent @ react-dom.development.js:19762
updateClassComponent @ react-dom.development.js:19708
beginWork @ react-dom.development.js:21621
beginWork$1 @ react-dom.development.js:27436
performUnitOfWork @ react-dom.development.js:26567
workLoopSync @ react-dom.development.js:26476
renderRootSync @ react-dom.development.js:26444
performConcurrentWorkOnRoot @ react-dom.development.js:25748
workLoop @ react.development.js:2653
flushWork @ react.development.js:2626
performWorkUntilDeadline @ react.development.js:2920
spread.js:25 Uncaught (in promise) Error: Network Error
    at e.exports (spread.js:25:1)
    at l.onerror (spread.js:25:1)

I have started LocalStack with EXTRA_CORS_ALLOWED_ORIGINS=http://localhost:3000 localstack start.

andreasciamanna avatar Jan 23 '23 16:01 andreasciamanna

Hi @JoelRomero97 @andreasciamanna , thanks for reporting. We have now made a few simplifications/enhancements in the demo app setup - can you please pull the latest Docker image and give it another try with the updated instructions in the README? Please keep us posted on how it goes.. Thanks!

whummer avatar Feb 01 '23 13:02 whummer

Hey @whummer 👋

Thanks for the update. I tried though, it's still not working 🙌 image

I tried the documentation from https://docs.localstack.cloud/getting-started/quickstart/

and also tried the cloud pod method. None of them works 😅

Regards. T

ta1bbty avatar Feb 09 '23 11:02 ta1bbty

Also I checked the package.json and Makefile. Nor does package.json have web as a script nor does Makefile have start as a script :D image

ta1bbty avatar Feb 09 '23 11:02 ta1bbty

Hi @ta1bbty, can you please pull the latest Docker image, start LocalStack using localstack start then run make install and make deploy in your project's root folder? let me know how it goes. I used the same formula and it works. We need to update our docs.

tinyg210 avatar Feb 10 '23 20:02 tinyg210

Hi! We just wanted to follow up on our last message to see whether your issue has been resolved. Were you able to get it working with the latest version of LocalStack? We would appreciate your feedback!

lakkeger avatar Nov 13 '23 15:11 lakkeger