0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Hello World 関係

Last updated at Posted at 2022-05-30

このキーワードのエラーは複数のトレイルヘッドが存在しています。

We couldn't find a Lightning web component named 'helloWorld'.

I don't think any thing wrong in Component.

Suppose if XML is not proper (Say target missing ) then we will not get option to drag the component on Home page.

Unfortunitly, In this case I would also suggest please go with new Org now.

No worries it will a revison of those deployment commands :) (I usually did multiple times).

Simply Authorise again with SFDX:Authorise an org and login with new playground org.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A95hxSAB

As I can see all things are good in perfect manner.
but, sometimes this error occurs for following reasons

  1. when we have same name components
  2. spelling mistake and url issue
    open setup --> search in quick find box for 'Lightning components'
    Check your 'helloWorld' named LWC component and try to delete it.

If its giving error then remove that component from that page where you set it.(edit page)
now, again re-auth an org and try to deploy that component and set it where you want.

Make sure that the Contact Record page includes a Flow component, and that the Flow component references the 'Hello World' flow.

Visualforce Basics module: Create & Edit Visualforce Pages: Challenge in firing HelloWorld page

Lightning Web Components - Not available in app builder

The problem is that you haven't deployed My Domain in the org. Orgs that do not have My Domain deployed cannot use custom lightning components.

マイドメインの設定がない。

Make sure you add the 'helloWorld' Lightning web component to the default Home page.

Make sure the lable and Development name api has Home page default like the below image

image.png

類似


image.png

Create a Hello World Lightning Web Component

You named your component helloWorldlwc, and not helloWorld as the challenge expected.

コンポーネントに helloWorldlwc という名前を付けましたが、予想どおりの helloWorld ではありませんでした。

【サポート預かり】 Create a Hello World Lightning Web Component

Create a Hello World Lightning Web Component

ご指摘のとおり古いバージョンを削除しました。

I removed old versions as you suggested.

ご指摘のとおり古いバージョンを削除しました。

設定内容

Please have a look again, js-meta.xml is like this?

isExposed is true and Target specified?

<?xml version="1.0" encoding="UTF-8"?>

<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="helloWorld">
  <apiVersion>45.0</apiVersion>
  <isExposed>true</isExposed>
  <targets>
    <target>lightning__AppPage</target>
    <target>lightning__RecordPage</target>
    <target>lightning__HomePage</target>
  </targets>
</LightningComponentBundle>

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A95hxSAB

There was an unhandled exception. Please reference ID

image.png

Can you please try to disconnect and connect the Org to your Trailhead? And then verify the challenge?

何だろう?

image.png

変なLightning Record Pagesになっているので、削除して再作成

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?