Questions tagged [lwc-dev-server]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

recordId in child component LWC

Can i get the recordId directly in child component and not coming from parent component? I put @api recordId in child component but im getting undefined
0
votes
1answer
17 views

Lwc showtoast multiple line

Does anyone know how to implement myltiple line in LWC showtoast? I only see workaround using aura but not lwc please help
1
vote
1answer
37 views

Nothing wasn't display in http://localhost:3333/ with lwc-dev-server

I'm trying to use lwc local development with the following steps in my developer experience. Install lwc-dev-server with "sfdx plugins:install @salesforce/lwc-dev-server". Updated with &...
0
votes
1answer
28 views

messageChannel folder in vscode

Does the messageChannel folder should automatically create when i create new sfdx manifest project in vscode? Or i should create it manually?
0
votes
0answers
31 views

Command 'CCDX: Deploy Source To Salesforce' resulted in an error (Cannot read property 'path' of undefined)

Facing below error when I am trying to deploy LWC from VS Code Command 'CCDX: Deploy Source To Salesforce' resulted in an error (Cannot read property 'path' of undefined) Steps to generate error: ...
0
votes
0answers
24 views

Issue with JSForce Login - origin 'http://localhost:3001' has been blocked by CORS policy [duplicate]

I am trying JSforce for the first time. I created the OOTB lwcdev node app and then just adding the login method as per the documentation . import { createElement } from 'lwc'; import MyApp from '...
2
votes
1answer
75 views

ENOENT: no such file or directory, open 'force/empApiInternal'

I'm trying to implement Platform Events into my LWC - I'm following these docs: lightning-emp-api docs. When I try and import the empApi into my LWC I get the following error: (NB, it only occurs in ...
0
votes
2answers
1k views

Prepopulate values in lightning record form lwc

I’m trying to create one lwc component, where I need to prepopulate some values including lookup in lightning-record-form. Is it possible to do this in lwc?
2
votes
2answers
971 views

Warning: force:lightning:lwc:start is not a sfdx command

I am trying to use the new LWC Local Development Server. I've run command: sfdx update So I know I am using the latest version of the CLI. And I've installed the plugin: sfdx plugins:install @...