Skip to main content

I'm trying to set a Local Development Server for Lightning Web Components according to this link but when I try to install the plugin @salesforce/lwc-dev-server I get this error message :

Code: ShellParseError

and a .js file named npm-cli.js opens in my editor with this content:

#!/usr/bin/env node

require('../lib/cli.js')(process)

Anyone knows what to do? Thanks in advance.

 

#LWC  #LWC Component  #Custom LWC  #LWC Development  #Sfdx Plugins

2 Antworten
  1. 22. Sept. 2021, 18:49

    I tried your suggestion but I'm not able to install the plugin @salesforce/lwc-dev-server like I described in my question.

0/9000