trailheadapps/ebikes-lwc

Step 8: Deploy Community metadata results in Error: "You can not create custom Guest profiles."

fzsfdc opened this issue · 4 comments

Summary

Following the GH steps: https://github.com/trailheadapps/ebikes-lwc for "Installing E-Bikes using a Scratch Org" and all successful until step 8. Deploy Community metadata: sfdx force:mdapi:deploy -d mdapiDeploy/unpackaged -w 5
Step 8: Deploy Community metadata results in Error: "You can not create custom Guest profiles."

Steps To Reproduce:

  1. Step 1 -8
  2. On Step 8: Deploy Community metadata results in Error: "You can not create custom Guest profiles."
    === Component Failures [1]
    TYPE FILE NAME PROBLEM
    ───── ──────────────────────────────────────────────────── ─────────────── ─────────────────────────────────────────
    Error unpackaged/profiles/E-Bikes Profile.profile-meta.xml E-Bikes Profile You can not create custom Guest profiles.

ERROR running force:mdapi:deploy: The metadata deploy operation failed.

=> Looks like there is a challenge on line Profile.profile-meta.xml with
Guest since the Guest profile does not exist in a new Scratch Org.

Expected result

MDAPI PROGRESS | ████████████████████████████████████████ | 4/4 Components

Actual result

ERROR running force:mdapi:deploy: The metadata deploy operation failed.

Additional information

See screenshot
Screenshot 2020-09-27 at 01 40 31

Welcome! 👋

Thank you for posting this issue. 🙇🏼‍♂️ We will come back to you latest within the next 48h (working days). Stay tuned!

Hello @fzsfdc -

I've tried to reproduce this into a couple of org shapes but have had no luck. Can you confirm that you're not modifying config/project-scratch-def.json and that you are not trying to push into a prerelease org?

Best
Stephan

Flagging this as stale, as there was no recent activity within the last 14 days. 🧐

Issue resolved