trailheadapps / lwc-recipes

A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform
https://developer.salesforce.com
Creative Commons Zero v1.0 Universal
2.59k stars 3.08k forks source link

Error LCDemo2 The attribute "Var2" was not found on the COMPONENT markup://c:LCDemo1 #956

Closed grvishal24 closed 2 months ago

grvishal24 commented 4 months ago

Summary

While deploying the project with following command on dev org facing the issue Status: Failed | ████████████████████████████████████████ | 217/217 Components | Errors: 1

Component Failures [1]

| Type Name Problem Line:Column | ───── ─────── ────────────────────────────────────────────────────────────────────── ─────────── | Error LCDemo2 The attribute "Var2" was not found on the COMPONENT markup://c:LCDemo1

Salesforce Org Type

Developer Edition Org

Steps To Reproduce

  1. Authorise the org
  2. run the command sf project deploy start -d force-app

Current Behavior

Status: Failed | ████████████████████████████████████████ | 217/217 Components | Errors: 1

Component Failures [1]

| Type Name Problem Line:Column | ───── ─────── ────────────────────────────────────────────────────────────────────── ─────────── | Error LCDemo2 The attribute "Var2" was not found on the COMPONENT markup://c:LCDemo1

Expected Behavior

should get deployed

Relevant Log Output

No response

Code of Conduct

github-actions[bot] commented 4 months ago

Thank you for posting this issue. 🙇🏼‍♂️
We will come back to you shortly.

pozil commented 2 months ago

The LCDemo1 component that is causing this error is not part of this app so I recommend that you clone a clean copy of this repository and try again.