forcedotcom / lwc-dev-server-feedback

LWC Local Development
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

Installation of Package problem #167

Open TomasSt88 opened 5 months ago

TomasSt88 commented 5 months ago

Following error occurs during installation of this extension:

Polling for new version(s) to become available on npm... done Successfully validated digital signature for @salesforce/lwc-dev-server. Finished digital signature check. Installing plugin @salesforce/lwc-dev-server@latest... failed » Warning: @salesforce/lwc-dev-server > @lwc/engine@1.2.2: Use @lwc/engine-dom instead Error: C:\Users\tomas.stranak\AppData\Local\sf\client\2.26.10-b796e35\node_modules\yarn\bin\yarn.js add @salesforce/lwc-dev-server@latest --non-interactive --mutex=file:C:\Users\tomas.stranak\AppData\Local\sf\yarn.lock --preferred-cache-folder=C:\Users\tomas.stranak\AppData\Local\sf\yarn --check-files exited with code 1

Can you please recommended me if is this plugin actually available for installation with new sf commands ? Can you recommended me next steps, or if is already existing another similar extension ?

Thank you

Salesforce Extension Version in VS Code : v59.16.0

SFDX CLI Version: 2.26.10

OS and version: Windows 11 Enterprise 10.0.22000

VS Code version: Version: 1.86.0 (user setup)

Version: 1.86.0 (user setup) Electron: 27.2.3 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.22000

CristiCanizales commented 5 months ago

Hi @TomasSt88, currently we're not maintaining this plugin nor will be in the near future as we're working on other priorities from the backlog. We'll announce whenever we start working again on this. Sorry for the inconveniences.

grloch commented 5 months ago

I'm having the same issue, does anyone know any workaround? I really need to make the server start hehe.

I did tried install node-gyp and windows-build-tools.

Hi @TomasSt88, currently we're not maintaining this plugin nor will be in the near future as we're working on other priorities from the backlog. We'll announce whenever we start working again on this. Sorry for the inconveniences.

So... while we wait, what do you recommend so I can create a LWC component?

CristiCanizales commented 5 months ago

Hi @grloch! So if you just need to create it, you could simply run SFDX: Create Lightning Web Component from the command palette image

TomasSt88 commented 4 months ago

Hello @grloch, Honestly this plugin is really missing. I am deploying code to scratch/sandbox every time and it is not effective. I still have no workaround ...

FYI @CristiCanizales, actually there is an issue with missing developer server for testing design, functionality of component, there is no issue with creating new Lightning component

gabrielVisum commented 4 months ago

@TomasSt88 I'm doing the same. It's a really complex component, it would take less time if I could just use the local server to work on it.

@CristiCanizales the problem isn't the files or deploy it to the org, the problem is testing it. We can't do it locally, every single change need a deploy for testing. Changed some color on the component? Need a deploy and test directly on the org...

CristiCanizales commented 4 months ago

Hi @TomasSt88 and @gabrielVisum, I know there's an issue with the dev server. As I said, currently we're not maintaining it. I suggested running "SFDX: Create Lightning Web Component" because what @grloch asked after my first comment on this thread was "while we wait, what do you recommend so I can create a LWC component?"

TomasSt88 commented 4 months ago

@gabrielVisum Totally understand. Honestly something like developer server is strongly missing for effective LWC component development ...

stale[bot] commented 3 months ago

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.