Questions tagged [lwc-dev-server]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
174 views

Cannot install @salesforce/lwc-dev-server

When running sfdx plugins:install @salesforce/lwc-dev-server on Sonoma 14 OSX, it returns either: Warning: @salesforce/lwc-dev-server > @lwc/[email protected]: Use @lwc/engine-dom instead Error: /usr/...
number41's user avatar
  • 948
0 votes
1 answer
96 views

salesforce-ux/design-system lib is not displaying slds icons in lwc oss

I am using LWC oss framework to play with lightning-base-components npm package. I have used 'salesforce-ux/design-system' to use SLDS.I could use base components as lightning web components with SLDS....
Baba Shaik's user avatar
0 votes
2 answers
1k views

LWC Unable to install Local development server

I keep getting errors while installing the Local Development Server. I referred to many possible solutions online. I have the following things installed already. Visual Studio Code, Salesforce CLI, ...
AB L's user avatar
  • 3
0 votes
1 answer
1k views

LWC iterating over a loop from apex is not let me change the data

today I was trying to iterate and compare an array given from Apex to create a new one without repeated values, but I just couldn't. It was like my logic code was ignored. Then I was reading in ...
Julian Gutierrez Caligaris's user avatar
1 vote
1 answer
597 views

Add data for LWC Local Development

I'm using the Local Development Server to test my LWC. How do I add data and custom setting records in order to test my components? Is it linked to an org somehow?
fred's user avatar
  • 3,215
0 votes
2 answers
477 views

Error while starting lwc local server

[MODULE_NOT_FOUND] Error Plugin: @salesforce/lwc-dev-server: Cannot find module '@babel/helper-builder-binary-assignment-operator-visitor' Require stack:
Bhushan Bhalerao's user avatar
0 votes
0 answers
378 views

Faced issue in installing sfdx plugins:install @salesforce/lwc-dev-server

i am trying to view component locally in vs code but when i run sfdx plugins:install @salesforce/lwc-dev-server this command i get error C:\HelloWorldLightningWebComponen>sfdx plugins:install @...
Shivani Tanwar's user avatar
3 votes
1 answer
1k views

Access recordId in LWC child component

Can I access the recordId directly in a LWC child component instead of passing it from parent component? I put @api recordId in child component but im getting undefined.
Ian Roque's user avatar
  • 563
1 vote
1 answer
931 views

How to show LWC multi-line toasts?

Does anyone know how to implement multi-line with LWC ShowToastEvent? I can only see workarounds using Aura but not LWC.
Ian Roque's user avatar
  • 563
1 vote
1 answer
715 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 &...
sagekoder's user avatar
  • 105
0 votes
0 answers
169 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: ...
Mohit Kumar's user avatar
2 votes
1 answer
860 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 ...
Carl-Johan's user avatar
0 votes
3 answers
5k 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?
salesforce Developer's user avatar
2 votes
3 answers
5k 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 @...
Robs's user avatar
  • 9,330