forcedotcom / lwc-dev-server-feedback

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

Unable to install lwc-dev-server #19

Open sfdcdeveloper883 opened 4 years ago

sfdcdeveloper883 commented 4 years ago

i am trying to install in my personal laptop but i am getting below error

Error: Unable to update lock within the stale threshold

PS C:\Users\Sidhartha Mohapatra\Documents\SFDC-Codes\RegDev02> sfdx plugins:install @salesforce/lwc-dev-server Successfully validated digital signature for @salesforce/lwc-dev-server. Finished digital signature check. warning @salesforce/lwc-dev-server > @lwc/style-compiler > cssnano > autoprefixer > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. warning @salesforce/lwc-dev-server > @lwc/style-compiler > cssnano > postcss-merge-rules > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. warning @salesforce/lwc-dev-server > @lwc/style-compiler > cssnano > postcss-merge-rules > caniuse-api > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. warning @salesforce/lwc-dev-server > @lwc/style-compiler > cssnano > postcss-merge-rules > postcss-selector-parser > flatten@1.0.2: I wrote this module a very long time ago; you should use something else. warning @salesforce/lwc-dev-server > @salesforce/command > @oclif/test > fancy-test > @types/nock@11.1.0: This is a stub types definition. nock provides its own type definitions, so you do not need this installed. warning @salesforce/lwc-dev-server > @salesforce/core > @salesforce/ts-sinon > sinon > @sinonjs/formatio > samsam@1.3.0: This package has been deprecaC:\Users\Sidhartha Mohapatra\AppData\Local\sfdx\client\7.18.0-ee5dc8194c\node_modules\yarn\lib\cli.js:78070 compromised = compromised || function (err) { throw err; };

Error: Unable to update lock within the stale threshold at options.fs.utimes (C:\Users\Sidhartha Mohapatra\AppData\Local\sfdx\client\7.18.0-ee5dc8194c\node_modules\yarn\lib\cli.js:77992:66) at FSReqWrap.args [as oncomplete] (fs.js:140:20) Installing plugin @salesforce/lwc-dev-server... ! Error: yarn add @salesforce/lwc-dev-server@latest --non-interactive --mutex=file:C:/Users/Sidhartha Mohapatra/AppData/Local/sfdx/yarn.lock --preferred-cache-folder=C:/Users/Sidhartha Mohapatra/AppData/Local/sfdx/yarn --check-files exited with code 1 at ChildProcess.forked.on (C:/Users/Sidhartha Mohapatra/AppData/Local/sfdx/client/7.18.0-ee5dc8194c/node_modules/@oclif/plugin-plugins/lib/yarn.js:31:28) PS C:\Users\Sidhartha Mohapatra\Documents\SFDC-Codes\RegDev02> sfdx update sfdx-cli: Updating CLI from 7.18.0-ee5dc8194c to 7.27.0-714f62f9c1... - 35.0 MB/35.2 MB ^CTerminate batch job (Y/N)? Y PS C:\Users\Sidhartha Mohapatra\Documents\SFDC-Codes\RegDev02> sfdx --version sfdx-cli/7.27.0-714f62f9c1 win32-x64 node-v10.15.3

stale[bot] commented 4 years ago

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

Kabilan-G commented 4 years ago

I got the same error too. Please fix or give a workaround for it.

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-7411456