-
Notifications
You must be signed in to change notification settings - Fork 8
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
Issue: Local Development setup failed SfError: Error occurred downloading your site #205
Comments
@KaneBN not sure what the issue is but if you run the command like this |
@maliroteh-sf Thanks for the quick reply! I've tried running the following commands but have received the same output as in the original issue description
Am I supposed to replace the '*' with a debug log level? I did also see this line in the readme
But then it doesn't seem to execute the command and just hangs there |
@KaneBN You don't need to replace Looking at your original post, I see that the command you've executed is So is Note that you should install the most recent version of the plugin ( |
@maliroteh-sf apologies, didn't realise last night that because I was using the fish shell the I've ran the same command in zsh and did get a slightly more verbose output, omitting the name parameter and simply selecting the name of the lwr:
Having noticed the line mentioning supplying the NODE_ENV parameter, I set that with the full command being
Interestingly though it does still say 'See more details with DEBUG=*' near the top of the output |
After spinning up a fresh empty Build Your Own LWR template and publishing it looks like the generated MRT bundle size exceeds the static resource file size limit specified in the docs, does this process pull in all static resources in the org? Could be why it's not happy with the download
|
I'll have to delegate to @nrkruk on this. |
This issue has been linked to a new work item: W-17046381 |
I ran into same issue:
just to mention additionally: using the command without the name lists all sites perfectly |
@micha-voigt I think the issue for you there is that the Experience Builder site has not been published, as you can see in the error message here
If you publish the site and try again you may have more luck! |
Thank you @KaneBN for your quick response but the sites are published. I saw it in the error message too and published again, just to be sure, in case there is any timestamp compare etc., but got the same error result. I would be happy to analyze deeper, if it helps you find the issue, but would need some guidance from your side. |
@micha-voigt Out of interest did you publish via the sf cli or the the builder? Would recommend using the As recommended above you can also use the DEBUG=* environment variable to get a more verbose output which could help shed some light? |
Unfortunately it's not doing the trick:
Got the email confirmation and then the dev site command again using DEBUG=*
|
Summary
Running into an issue attempting to run the local dev server for an LWR site in my scratch org.
Steps To Reproduce:
sf lightning dev site --name my_lwr_name
in the cliExpected Result
Local Dev spins up
Actual Result
Seems unable to download my LWR for an unknown reason, I've looked for more verbose logging in ~/.sf/ but could find no relevant info unfortunately
System Information
Shell: Fish
OS:
Apple M2 Pro MacOS version 15 Beta
The text was updated successfully, but these errors were encountered: