Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Unable to view LWR B2B store

オープン
#199 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@nrkruk がすでに取り組んでいます。

2024年10月23日 から。

評価

この issue はまだ評価されていません。

説明

BUG P2

Hello,

I am trying to use the plugin against one of my B2B LWR store. I followed the documentation and ran the sf lightning dev site command and selected the appropriate B2B store. The command ran successfully and opened the B2B store in a new chrome TAB at localhost:3000. The store then automatically redirects to the login page http://localhost:3000/login?startURL=%2F.

When I enter the B2B buyer username and password to login, the login is successful but I ended up on the non-localhost version of the homepage i.e. https://{{client}}--{{storename}}.sandbox.my.site.com/. I then again tried to visit localhost:3000 but I again ended on the login page.

Output of runtime-info.json file

{
  "orgId": "00DQI000007QIdB",
  "siteId": "0DMQI0000009eMQ",
  "clwrVersion": "252.131",
  "coreVersion": "252.9",
  "coreChangelist": "49377715",
  "bundleGenerationDate": "Oct 12, 2024 2:27:52 PM",
  "siteTemplateName": "b2b-storefront",
  "deployTarget": "CORE"
}

Is there something that I am missing while using this plugin with LWR based Salesforce commerce cloud stores?

Screenshot 2024-10-12 at 16 50 30

Note: I also tried the command with a different store and in that case I momentarily see the buyer as logged-in but then again I am redirected back to the login page. When I enter correct username/password, I get 401 error.

主要言語
TypeScript
スター
19
フォーク
19
平均マージ
3日 12時間
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

salesforcecli/plugin-lightning-dev のほかの issue

salesforcecli/plugin-lightning-dev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。