Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Can't run demo project locally #2

Open
bschwartz757 opened this issue Nov 1, 2019 · 2 comments
Open

Can't run demo project locally #2

bschwartz757 opened this issue Nov 1, 2019 · 2 comments

Comments

@bschwartz757
Copy link

Hello,

I'm trying to run the demo React SSR app at https://github.com/bloomreach/experience-react-sdk/tree/master/examples/server-side-rendered, which directed me here as a first step. I was able to install and build the community edition of the CMS platform, but can't get it to run properly. When I run the backend with mvn -P cargo.run, I don't see anything odd in the terminal, and when I start the client app up with yarn start, I don't see any errors there either. However, when the page attempts to open it fails with Unhandled Rejection (TypeError): Cannot read property 'page' of undefined. On each page request there's a hit logged in the terminal as well: [INFO] [talledLocalContainer] 01.11.2019 14:27:02 ERROR http-nio-8080-exec-2 [HstFilter.doFilter:47] The HST Container Services are not initialized yet.

Screen Shot 2019-11-01 at 2 27 47 PM
Screen Shot 2019-11-01 at 2 28 19 PM

If there's an easier way to just run the React examples that would be great as that's what I'm primarily interested in.

Thanks

@PetroPavlenko
Copy link

Looks like you need to run Build in hippo

@jderochervlk
Copy link

I'm also hitting this problem after following the Readme. Can you clarify what you mean by "run Build"?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants