Not working with experience cloud with custom path

Open
#374 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
devtools, web-dev

Research direction

Start by reproducing local development with an Experience Cloud site using a custom path, then compare it with a root-path site and inspect the startup failure shown in the attached error image. Done means the LWR website loads locally when the site is configured under a path such as /xxx.

Written by the indexing model from the issue text.

Description

Summary

Local DEV cannot load the site, if experience cloud is created with a custom path.

...my.site.com/xxx

It only works with experience cloud created at root without the custom path.

...my.site.com/

Here is the failure error messages when start the LWR website locally.
Image

Dominant language
TypeScript
Stars
19
Forks
19
Avg merge
3d 12h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from salesforcecli/plugin-lightning-dev

All issues in salesforcecli/plugin-lightning-dev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.