Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo app is broken #1

Open
magick93 opened this issue Apr 23, 2022 · 3 comments
Open

Demo app is broken #1

magick93 opened this issue Apr 23, 2022 · 3 comments

Comments

@magick93
Copy link

Hi

I tried to view your demo app, but no content is displayed. In the browser console is the following error:

main.0a11efe8475a6be19520.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'data')
    at hn.<anonymous> (main.0a11efe8475a6be19520.js:1:1868706)
    at Generator.next (<anonymous>)
    at St (main.0a11efe8475a6be19520.js:1:1861860)
    at v.invoke (polyfills.ccf45bcbd45d2aadd2d6.js:1:6557)
    at Object.onInvoke (main.0a11efe8475a6be19520.js:1:179786)
    at v.invoke (polyfills.ccf45bcbd45d2aadd2d6.js:1:6497)
    at M.run (polyfills.ccf45bcbd45d2aadd2d6.js:1:1953)
    at polyfills.ccf45bcbd45d2aadd2d6.js:1:16787
    at v.invokeTask (polyfills.ccf45bcbd45d2aadd2d6.js:1:7175)
    at Object.onInvokeTask (main.0a11efe8475a6be19520.js:1:179602)
@shivanayakd
Copy link

Hi, Could you please confirm if all the environment variables are set?
https://github.com/bloomreach/bloomreach-spartacus-storefront#set-environment-varaibles

@magick93
Copy link
Author

I'm referring to https://brx-spartacus-latest.netlify.app/

@shivanayakd
Copy link

Please add the endpoint parameter to the URL to specify the brX SaaS instance to fetch the page model from, it should look something like:
https://brx-spartacus-latest.netlify.app/?endpoint=http://localhost:8080/delivery/site/v1/channels/spartacus/pages

  • Replace the localhost:8080 with the hosted brX SaaS instance domain name

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

No branches or pull requests

2 participants