Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error] LWR Diagnostic Error: 404: Could not find module entry with specifier "lightning/sldsMediaObject" #4232

Open
jthathapudi opened this issue May 28, 2024 · 0 comments
Labels
External: Lightning Web Runtime Categorizes issue or PR as related to Lightning Web Runtime (LWR)

Comments

@jthathapudi
Copy link

Getting error during yarn dev

ERROR: [error] LWR Diagnostic Error: 404: Could not find module entry with specifier "lightning/sldsMediaObject"

app.html:

logo

Hello World!

        <lightning-input label="First Name" value={firstName} onchange={handleFirstNameChange}></lightning-input>
        <lightning-input label="Last Name" value={lastName} onchange={handleLastNameChange}></lightning-input>
        <lightning-input label="Email" type="email" value={email} onchange={handleEmailChange}></lightning-input>
        <lightning-input label="Password" type="password" value={password} onchange={handlePasswordChange}></lightning-input>
        <lightning-button label="Signup" onclick={handleSignup}></lightning-button>
  
</main>

app.ts:

import { LightningElement } from 'lwc';
import '@lwc/synthetic-shadow';

export default class HelloWorldApp extends LightningElement {
handleFirstNameChange(){

}
handleLastNameChange(){

}
handleEmailChange(){

}
handlePasswordChange(){

}
handleSignup(){
    
}

}

Note: I have installed below

npm install lightning-base-components
npm install @lwc/synthetic-shadow
npm install @salesforce-ux/design-system --save

Any help is highly appreciated. Thank you

@nolanlawson nolanlawson added the External: Lightning Web Runtime Categorizes issue or PR as related to Lightning Web Runtime (LWR) label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External: Lightning Web Runtime Categorizes issue or PR as related to Lightning Web Runtime (LWR)
Projects
None yet
Development

No branches or pull requests

2 participants