Open lakshmakusam opened 2 months ago
@lakshmakusam can you share the contents of the file in your sfdx project --> .localdev/${sitename}/app/site/.metadata/runtime-info.json
{
"orgId": "XXXXX",
"siteId": "XXXXXX",
"clwrVersion": "252.117",
"coreVersion": "252.4",
"coreChangelist": "48647231",
"bundleGenerationDate": "Sep 5, 2024 7:52:51 PM",
"siteTemplateName": "talon-template-byo"
}
@nrkruk Please let me know you need the orgId or the siteId
@lakshmakusam Looks like your site was published before the latest patch release (252.5) which contains local-dev related fixes. Can you try publishing your site again and then re-running the local dev command? (local-dev will then prompt you to download the newly published site and set that up)
Thank you, that worked.
But unfortunately running into weird issue where the LWC isn't rendering or debugging is hitting the LWC constructor
When I tried the published site, everything is rendering as expected
Published site :
Local Dev Site:
Both have the same URL parameters, and the Site is published to the root
@lakshmakusam could you send me a screen grab of network requests tab from the chrome developer tools? Any console errors you are getting (browser and dev server)?
Here is the Network tab.
There are no errors in the browser console or in the server logs? Can you try clearing your browser cache? Another thing you could also try is updating plugin-lightning-dev to the latest version (1.3.0). If for some reason this is authentication related, that could help.
If you are comfortable, feel free to privately share your site zip with me and I can debug further (Site zip is located at: .localdev/{sitename}/{sitename}.gz
)
Summary
Unable to use the plugin with the custom LWR Site.
Steps To Reproduce:
v1.2.0
sf lightning dev site -n sitename
(replace sitename with your site)Expected Result
Site to open in a browser tab
Actual Result
Following errors are shown
Additional Information
System Information
SF CLI:
Terminal : zsh OS: MacOS Sequoia
OS: MacOS Sequoia