forcedotcom / lwc-dev-server-feedback

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

Installing plugin @salesforce/lwc-dev-server... - info There appears to be trouble with your network connection. Retrying... #53

Open sfdcocean opened 4 years ago

mschumann82 commented 4 years ago

I'm having the same issue. This is what I get:

$ sfdx plugins:install @salesforce/lwc-dev-server Successfully validated digital signature for @salesforce/lwc-dev-server. Finished digital signature check. Installing plugin @salesforce/lwc-dev-server... yarn add v1.19.1 Installing plugin @salesforce/lwc-dev-server... info No lockfile found.Installing plugin @salesforce/lwc-dev-server... [1/4] Resolving packages...Installing plugin @salesforce/lwc-dev-server... [2/4] Fetching packages...Installing plugin @salesforce/lwc-dev-server... info There appears to be trouble with your network connection. Retrying...Installing plugin @salesforce/lwc-dev-server... info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

ennoucas commented 4 years ago

Same here

stale[bot] commented 4 years ago

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

stale[bot] commented 4 years ago

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

Anks1856 commented 4 years ago

i also have same issue , my work is stop right now . please any one have solution ?

stale[bot] commented 4 years ago

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

git2gus[bot] commented 4 years ago

This issue has been linked to a new work item: W-7685139

Anks1856 commented 4 years ago

guys i finally find a solution you can check it ... ===>https://www.youtube.com/watch?v=YFVVFHbTznY

stale[bot] commented 4 years ago

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

team-seavus commented 3 years ago

Same problem here. I ran yarn add @salesforce/lwc-dev-server and I got image from the 'yarn-error' log file

team-seavus commented 3 years ago

I found a solution that works for me and it is similar to the solution of @Anks1856. The file that I changed was in the folder: C:\Users\\AppData\Local\sfdx\yarn\v6\npm-ws-7.3.1-d0547bf67f7ce4f12a72dfe31262c68d7dc551c8-integrity\node_modules\ws\lib) in the '_websocket.js'. I changed the closeTimeout_ variable and after installing of the plug in I returned the original value.

stale[bot] commented 3 years ago

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

Stefani-Petrovska commented 3 years ago

I had the same problem. Found the cli.js in this folder: C:\Users{UserName}\AppData\Roaming\npm\node_modules\yarn\lib and changed the minTimeout value as on the image: image

stale[bot] commented 3 years ago

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