trailheadapps / az-insurance

Sample app that demonstrates how to build customer/partner/marketing experiences for Salesforce Experience Cloud and Lightning Web Runtime.
Creative Commons Zero v1.0 Universal
113 stars 100 forks source link

Installing AZ Insurance using a Scratch Org throwing Error at step7 #102

Closed pbreddy01 closed 1 year ago

pbreddy01 commented 2 years ago

Summary

Followed all the steps exactly and step 7 is throwing error: Type Name Problem Error ──────────────────────────────────────────────────────────────────────────────── Error LWR_Demo_Marketing1 The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try again.

Salesforce Org Type

Scratch Org

Steps To Reproduce

No response

Current Behavior

No response

Expected Behavior

No response

Relevant Log Output

No response

Code of Conduct

kishore76 commented 2 years ago

I am getting the following errors while completing this step7..

Step7: sfdx force:source:deploy -m "ApexPage,CustomSite,ExperienceBundle,NavigationMenu,Network,Profile"

Errors: image

jlraes commented 1 year ago

I am getting the following errors while completing this step7..

Step7: sfdx force:source:deploy -m "ApexPage,CustomSite,ExperienceBundle,NavigationMenu,Network,Profile"

Errors: image

Hi this can be fixed by removing '/s' in the urlPahtPrefix in the Experience site-meta.xml <?xml version="1.0" encoding="UTF-8" ?>

ChatterNetworkPicasso agent**/s**
smccurry-sovrn commented 1 year ago

Any update on this issue? Removing the '/s' did not work for me.

jimpoteet commented 1 year ago

Getting the same error. Removing the "/" for urlPathPrefix didn't work for me.

image
amanrawatdc commented 1 year ago

Facing same issue, build as jimpoteet, has anyone been able to deploy this project in a scratch org ?

jlraes commented 1 year ago

Yes I was able to deploy to a scratch org just last week after numerous attempts. I thought it was fixed by modifying the urlPathPrefix in the Experience site-meta.xml, but apparenlty it was some other change or temporary condition that allowed me to deploy to a scratch org just once.

jimpoteet commented 1 year ago

I was able to deploy the agent site using the following command at step 7: sfdx force:source:deploy -m ""ApexPage,CustomSite:LWR_Demo_Agent,ExperienceBundle:LWR_Demo_Agent1,NavigationMenu:Agent_Main_Navigation,Network:LWR Demo Agent,Profile"" NOTE: I did not make any changes to urlPathPrefix: agent/s I haven't been able to deploy the marketing site making similar changes.

kurleabhijeet commented 1 year ago

Any updates on this? I am also getting the same issue image

muenzpraeger commented 1 year ago

Long story short: we'll have to "re-build" the app, as there have been some metadata changes in Winter '23 in LWR. This will eventually happen until end of next week.

raunay commented 1 year ago

I'm having this issue too on sourceApiVersion 52 and 56:

LWR_Demo_Marketing1 The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try again.

akkibaddiex commented 1 year ago

I am facing the same issue as well, any update on the time line of the fix...

ybiyani commented 1 year ago

I too am seeing this issue

ybiyani commented 1 year ago

Long story short: we'll have to "re-build" the app, as there have been some metadata changes in Winter '23 in LWR. This will eventually happen until end of next week.

@muenzpraeger - Any updates?

tompatros commented 1 year ago

Also affected by this error - any ETA?

kevinfleck513 commented 1 year ago

stuck @ step 7 as well, anybody ever fix this?

muenzpraeger commented 1 year ago

The reason is hard to track down, so we're currently looking into either re-creating the project source, or moving (incl. some changes) to Enhanced LWR/CMS.

Should be decided/implemented by begin of next week. Sorry for the delay, lots of projects atm to juggle.

muenzpraeger commented 1 year ago

Quick heads up: we're still looking at the right way to move/migrate the app. As Enhanced LWR/CMS doesn't have yet an import functionality we're still looking at the right options.

ygavrylenko commented 1 year ago

As @muenzpraeger is working on more long-term solution, here is a quick fix for the problem:

  1. before the step 7, disable enhanced domains in the org, wait till the change take an effect
  2. you need to change you local sfdx config file for the connection .sfdx/ and past the new instanceUrl from the new enhanced domain
  3. go on with step 7
muenzpraeger commented 1 year ago

Tracking work with work item W-12432175

djohnsonb commented 1 year ago

I am getting this error

sfdx force:source:deploy -m ""ApexPage,CustomSite:LWR_Demo_Agent,ExperienceBundle:LWR_Demo_Agent1,NavigationMenu:Agent_Main_Navigation,Network:LWR Demo Agent,Profile"" ERROR running force:source:deploy: Unexpected arguments: Demo, Agent,Profile See more help with --help

=== Component Failures [1]

Type Name Problem
───── ─────────────────── ─────────────────────────────────────────────────────────────────────────────────────────── Error LWR_Demo_Marketing1 The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try again.

muenzpraeger commented 1 year ago

Patch is live