Closed SalesforceBobLightning closed 5 years ago
Can you verify that the plugin was installed successfully with sfdx plugins
? It should list @salesforce/lwc-dev-server
. If not, please try to install again and share the installation error.
@mysticflute aha! the result is no plugins installed
Is it possible to install a plugin and get a verbose log?
Running command sfdx plugins:install @salesforce/lwc-dev-server -v
does not produce any extra information.
Whats the complete output of the sfdx plugins:install command?
The full output is:
Successfully validated digital signature for @salesforce/lwc-dev-server. Finished digital signature check. Installing plugin @salesforce/lwc-dev-server...
Tricky issue.
Can you run this and report the output?
DEBUG=* sfdx plugins:install @salesforce/lwc-dev-server
@KrisGraySFDC ... Here is the output:
@oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5 +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\package.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\oclif.manifest.json +19ms @oclif/config:sfdx-cli using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\oclif.manifest.json +0ms @oclif/config reading user plugins pjson C:\Users\Robert\AppData\Local\sfdx\package.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\package.json +5ms @oclif/config loading plugins [ '@oclif/plugin-commands', '@oclif/plugin-help', '@oclif/plugin-not-found', '@oclif/plugin-plugins', '@oclif/plugin-update', '@oclif/plugin-warn-if-update-available', '@oclif/plugin-which', '@salesforce/plugin-generator', '@salesforce/plugin-analytics', '@salesforce/sfdx-trust', 'salesforcedx' ] +2ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-commands +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-commands\package.json +8ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-help +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-help\package.json +1ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-not-found +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-not-found\package.json +1ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-plugins +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-plugins\package.json +0ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-update +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-update\package.json +1ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available\package.json +1ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-which +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-which\package.json +0ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-generator +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-generator\package.json +1ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-analytics +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-analytics\package.json +1ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\sfdx-trust +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\sfdx-trust\package.json +0ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx\package.json +2ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-commands\oclif.manifest.json +2ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-help\oclif.manifest.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-not-found\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-plugins\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-update\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-generator\oclif.manifest.json +2ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-which\oclif.manifest.json +2ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-analytics\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\sfdx-trust\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-generator.oclif.manifest.json +0ms @oclif/config:@oclif/plugin-commands using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-commands\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-help using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-help\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-plugins using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-plugins\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-warn-if-update-available using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-update using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-update\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-not-found using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-not-found\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-which using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-which\oclif.manifest.json +0ms @oclif/config:@salesforce/plugin-analytics using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-analytics\oclif.manifest.json +0ms @oclif/config:@salesforce/sfdx-trust using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\sfdx-trust\oclif.manifest.json +0ms @oclif/config:salesforcedx using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx\oclif.manifest.json +0ms @oclif/config loading plugins [ 'salesforce-alm', 'salesforcedx-templates' ] +34ms @oclif/config:@salesforce/plugin-generator using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-generator.oclif.manifest.json +0ms @oclif/config loading plugins [ '@oclif/plugin-help', '@oclif/plugin-warn-if-update-available', '@oclif/plugin-not-found' ] +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx\package.json +7ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx\package.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-generator\package.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-generator\package.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-generator\package.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\package.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\package.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\package.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\package.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\package.json +1ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforce-alm +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforce-alm\package.json +0ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx-templates +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx-templates\package.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\package.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\package.json +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\package.json +2ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-help +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-help\package.json +0ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available\package.json +1ms @oclif/config reading core plugin C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-not-found +0ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-not-found\package.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx-templates\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforce-alm\oclif.manifest.json +5ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-help\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available\oclif.manifest.json +1ms @oclif/config loadJSON C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-not-found\oclif.manifest.json +0ms @oclif/config:salesforcedx-templates using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforcedx-templates\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-warn-if-update-available using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-help using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-help\oclif.manifest.json +0ms @oclif/config:@oclif/plugin-not-found using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-not-found\oclif.manifest.json +0ms @oclif/config:salesforce-alm using manifest from C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\salesforce-alm\oclif.manifest.json +0ms @oclif/config config done +25ms sfdx OS: +0ms sfdx platform: win32 +1ms sfdx architecture: x64 +0ms sfdx release: 10.0.17763 +1ms sfdx shell: cmd.exe +0ms sfdx NODE: +0ms sfdx version: 10.15.3 +0ms sfdx CLI: +1ms sfdx version: 7.31.0-6a986f8be5 +0ms sfdx channel: stable +0ms sfdx bin: sfdx +0ms sfdx data: C:\Users\Robert\AppData\Local\sfdx +0ms sfdx cache: C:\Users\Robert\AppData\Local\sfdx +1ms sfdx config: C:\Users\Robert\AppData\Local\sfdx +0ms sfdx ENV: +0ms sfdx NODE_OPTIONS:
+0ms sfdx SFDX_AUTOUPDATE_DISABLE: +1ms sfdx SFDX_BINPATH: "C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\bin\sfdx.cmd" +0ms sfdx SFDX_COMPILE_CACHE: +0ms sfdx SFDX_DISABLE_AUTOUPDATE: +0ms sfdx SFDX_ENV: +1ms sfdx SFDX_INSTALLER: true +0ms sfdx SFDX_LAZY_LOAD_MODULES: true +0ms sfdx SFDX_NPM_REGISTRY: +0ms sfdx SFDX_REDIRECTED: 1 +1ms sfdx SFDX_S3_HOST: +0ms sfdx SFDX_UPDATE_INSTRUCTIONS: +1ms sfdx ARGS: +0ms sfdx 0: C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\bin\node.exe +0ms sfdx 1: C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\bin\sfdx.js +0ms sfdx 2: plugins:install +1ms sfdx 3: @salesforce/lwc-dev-server +0ms lazy-require loading type cache from C:\Users\Robert\AppData\Local\sfdx\module-types.json +0ms lazy-require loaded type cache +1ms lazy-require parsing type cache +1ms lazy-require parsed type cache +1ms lazy-require enabled +1ms @oclif/config start init hook +24ms sfdx:sfdx-cli:hooks:init start C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\dist\hooks\massageHelp.js +0ms sfdx:@oclif/plugin-warn-if-update-available:hooks:init start C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-warn-if-update-available\lib\hooks\init\check-update +0ms sfdx:@oclif/plugin-update:hooks:init start C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-update\lib\hooks\init +0ms sfdx:sfdx-cli:hooks:init done +99ms sfdx:@oclif/plugin-update:hooks:init done +20ms sfdx:@oclif/plugin-warn-if-update-available:hooks:init done +82ms @oclif/config init hook done +110ms sfdx init version: @oclif/command@1.5.19 argv: [ 'plugins:install', '@salesforce/lwc-dev-server' ] +0ms @oclif/config runCommand plugins:install [ '@salesforce/lwc-dev-server' ] +6ms @oclif/config:@oclif/plugin-plugins require C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@oclif\plugin-plugins\lib\commands\plugins\install.js +174ms @oclif/config start prerun hook +19ms sfdx:@salesforce/plugin-analytics:hooks:prerun start C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\plugin-analytics\lib\hooks\analyticsPrerun.js +0ms sfdx:analytics Usage acknowledgement file already exists +0ms sfdx:analytics Reading sfdx usage file sfdx-usage.json +1ms sfdx:analytics More than a day has passed so calc and send usage data +1ms sfdx:core TRACE Setup child 'Org' logger instance +0ms sfdx:analytics Error gathering and sending usage data due to: AuthInfoCreationError: Must pass a username and/or OAuth options when creating an AuthInfo instance. at Function.create (C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\core\lib\sfdxError.js:141:16) at AuthInfo.init (C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\core\lib\authInfo.js:425:41) at Function.create (C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\kit\lib\creatable.js:27:24) at Org.init (C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\core\lib\org.js:398:53) +16ms sfdx:analytics setting up exit handler +1ms sfdx:@salesforce/plugin-analytics:hooks:prerun done +252ms @oclif/config prerun hook done +255ms sfdx:plugins:install init version: @oclif/command@1.5.19 argv: [ '@salesforce/lwc-dev-server' ] +0ms @oclif/config start plugins:preinstall hook +2ms sfdx:sfdx-cli:hooks:plugins:preinstall start C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\dist\hooks\pluginsPreinstall.js +0ms @oclif/config start plugins:preinstall:verify:version hook +3ms sfdx:sfdx-cli:hooks:plugins:preinstall:verify:version start C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\dist\hooks\verifyPluginVersion.js +0ms sfdx:sfdx-cli:hooks:plugins:preinstall:verify:version done +3ms @oclif/config plugins:preinstall:verify:version hook done +6ms @oclif/config start plugins:preinstall:verify:signature hook +0ms sfdx:@salesforce/sfdx-trust:hooks:plugins:preinstall:verify:signature start C:\Users\Robert\AppData\Local\sfdx\client\7.31.0-6a986f8be5\node_modules\@salesforce\sfdx-trust\dist\hooks\verifyInstallSignature.js +0ms sfdx:core TRACE Setup child 'verifyInstallSignature' logger instance +36ms sfdx:verifyInstallSignature DEBUG parsing npm name +0ms sfdx:verifyInstallSignature DEBUG npmName components: { sfdx:verifyInstallSignature "tag": "latest", sfdx:verifyInstallSignature "scope": "salesforce", sfdx:verifyInstallSignature "name": "lwc-dev-server" sfdx:verifyInstallSignature } +10ms sfdx:verifyInstallSignature DEBUG finished building the VerificationConfigBuilder +28ms sfdx:verifyInstallSignature DEBUG doing verification +1ms sfdx:core TRACE Setup child 'InstallationVerification' logger instance +41ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | npmRegistry: https://registry.npmjs.org/ +0ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | this.pluginNpmName.name: lwc-dev-server +0ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | this.pluginNpmName.scope: salesforce +1ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | this.pluginNpmName.tag: latest +0ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | npmRegistry.pathname: /@salesforce%2flwc-dev-server +1ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | Found npm meta information. Parsing. +295ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | versionObject: undefined +3ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | distTags: [object Object] +0ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | tagVersionStr: 1.0.8 +1ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | versionObject: {"name":"@salesforce/lwc-dev-server","version":"1.0.8","description":"Salesforce CLI plugin for Local Development (Beta)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/forcedotcom/lwc-dev-server-feedback.git"},"bugs":{"url":"https://github.com/forcedotcom/lwc-dev-server-feedback/issues"},"keywords":["salesforce","sfdx","salesforcedx","sfdx-plugin"],"main":"dist/server/LocalDevServer.js","types":"dist/server/LocalDevServer.d.ts","bin":{"lwc-dev-server":"./bin/run"},"scripts":{"clean":"yarn rimraf dist reports coverage errorShots oclif.manifest.json","build":"yarn clean && tsc && ts-node script/copy-assets","watch":"tsc -w | awk '{gsub(/\033c/,\"\") system(\"\")}1'","lint":"yarn eslint src --ext js,ts","lint:ci":"yarn lint --format junit --output-file ./reports/junit/eslint-results.xml --no-color","test":"yarn jest --coverage","test:watch":"yarn test --watch","test:debug":"node --inspect node_modules/.bin/jest src --runInBand","test:ci":"yarn test --ci --runInBand","test:e2e":"HEADLESS=false yarn jest --runInBand --config integration-tests/jest.config.integration-test.js","test:e2e-debug":"HEADLESS=false node --inspect-brk node_modules/.bin/jest --runInBand --config integration-tests/jest.config.integration-test.js","test:e2e-ci":"yarn jest --runInBand --force-exit --config integration-tests/jest.config.integration-test.js","format":"prettier --write \"src/*/.ts\"","link-webruntime":"yarn link @webruntime/common @webruntime/framework @webruntime/compiler","unlink-webruntime":"yarn unlink @webruntime/common @webruntime/framework @webruntime/compiler","postinstall":"node script/postinstall-build.js","prepack":"oclif-dev manifest","postpack":"rm -f oclif.manifest.json","prepublishOnly":"yarn build","preversion":"yarn test","postversion":"git push --no-verify && git push --tags --no-verify"},"devDependencies":{"@lwc/jest-preset":"1.0.0","@lwc/jest-resolver":"1.0.0","@oclif/dev-cli":"^1.22.0","@oclif/test":"^1.2.4","@oclif/tslint":"^3.1.1","@salesforce-ux/design-system":"^2.10.0","@salesforce/lwc-jest":"^0.5.1","@types/archiver":"^3.0.0","@types/co-body":"^0.0.3","@types/compression":"^0.0.36","@types/cookie-parser":"^1.4.1","@types/cpx":"^1.5.0","@types/csurf":"^1.9.35","@types/debug":"^4.1.4","@types/express":"^4.17.0","@types/fs-extra":"^8.0.0","@types/get-port":"^4.2.0","@types/helmet":"^0.0.43","@types/jest":"^24.0.15","@types/jsdom":"^12.2.4","@types/mime-types":"^2.1.0","@types/mock-fs":"^3.6.30","@types/request":"^2.48.2","@types/request-promise-native":"^1.0.16","@types/selenium-standalone":"^6.15.0","@types/shelljs":"^0.8.5","@types/uuidv4":"^2.0.0","@types/watch":"^1.0.1","@typescript-eslint/eslint-plugin":"^1.11.0","@typescript-eslint/parser":"^1.11.0","archiver":"^3.1.1","aws-sdk":"^2.490.0","eslint":"^6.0.1","eslint-config-prettier":"^6.0.0","eslint-plugin-prettier":"^3.1.0","husky":"^3.0.0","jest":"^24.8.0","jest-circus":"^24.9.0","jest-environment-node":"^24.8.0","jest-junit":"^6.4.0","jest-runner-eslint":"^0.7.4","lint-staged":"^9.2.0","mock-fs":"^4.10.1","prettier":"^1.18.2","rimraf":"^2.6.3","selenium-standalone":"^6.16.0","ts-jest":"^24.0.2","ts-mockito":"^2.3.1","ts-node":"^8.3.0","tslint":"^5.18.0","typescript":"^3.5.3","webdriverio":"^5.11.0"},"dependencies":{"@babel/core":"^7.5.4","@babel/runtime":"^7.5.4","@lwc/compiler":"^1.0.2-222.17","@lwc/engine":"^1.0.2-222.17","@lwc/style-compiler":"^1.0.2-222.17","@lwc/synthetic-shadow":"^1.0.2-222.17","@oclif/command":"^1.5.16","@oclif/config":"^1.13.1","@oclif/plugin-help":"^2.2.0","@oclif/plugin-update":"^1.3.9","@salesforce/command":"^2.0.0","@salesforce/core":"^2.0.1","@salesforce/lwc-dev-server-dependencies":"1.0.49","@salesforce/telemetry":"^1.2.2","@salesforce/ts-types":"^1.1.4","@webruntime/common":"0.18.23","@webruntime/compiler":"0.18.23","@webruntime/framework":"0.18.23","@webruntime/metadata-schema":"0.18.23","@webruntime/navigation":"0.18.23","co-body":"^6.0.0","colors":"^1.3.3","compression":"^1.7.4","cookie-parser":"^1.4.4","cpx":"^1.5.0","csurf":"^1.10.0","debug":"^4.1.1","decamelize":"^3.2.0","express":"^4.17.1","fast-glob":"^3.0.4","fast-xml-parser":"^3.12.19","fs-extra":"^8.1.0","get-port":"^5.0.0","helmet":"^3.18.0","jsdom":"^15.1.1","mime-types":"^2.1.24","path":"^0.12.7","reload":"^3.0.1","request":"^2.88.0","request-promise-native":"^1.0.7","shelljs":"^0.8.3","uuidv4":"^4.0.0","watch":"^1.0.2"},"resolutions":{"js-yaml":"^3.13.1","braces":"^3.0.2","eslint-utils":"^1.4.2","mem":"^4.0.0","csv-parse":"^4.6.0"},"engines":{"node":">=10.15.3"},"oclif":{"macos":{"identifier":"com.salesforce.lwcdevserver"},"commands":"./dist/cli/commands","bin":"lwc-dev-server","plugins":["@oclif/plugin-help","@oclif/plugin-update"]},"lwc":{"mapNamespaceFromPath":true,"modules":["modules"]},"husky":{"hooks":{"pre-commit":"yarn lint-staged","pre-push":"yarn lint"}},"publishConfig":{"access":"public"},"sfdx":{"publicKeyUrl":"https://developer.salesforce.com/media/salesforce-cli/sfdx-cli_05112020.crt","signatureUrl":"https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-lwc-dev-server-1.0.8.sig"},"_resolved":"","_integrity":"","_from":"file:salesforce-lwc-dev-server-1.0.8.tgz","homepage":"https://github.com/forcedotcom/lwc-dev-server-feedback#readme","_id":"@salesforce/lwc-dev-server@1.0.8","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-qNCZt8hFu1+3AyWv1Wp/MgX/ozVFSwFEvZfsORRJ7Etf2MM3s/1Pm51t1TI3YI8CsoyqmFaDmbFMaZNib3bi2w==","shasum":"113d723b6b871b343ffbb58c2207c0f8a66a92fd","tarball":"https://registry.npmjs.org/@salesforce/lwc-dev-server/-/lwc-dev-server-1.0.8.tgz","fileCount":142,"unpackedSize":3717321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdshcrCRA9TVsSAnZWagAAXN8P/i0HKRllY++xZ+yv+E7Y\nAW2piQY3S4P7IsA2JtmtkbKI7Lw9XP7y+bJJxQNbJGYAmOL3ohL7EFIKz21Z\nYf+TMzrNZMmMuiAdgysdw6q+dgoPlrBPx7DC92ZPowajmX+wVnr/PRr54Wcs\n8y4w/8ZFODrE86J+mKbEi5ArOWfRoOY3EJVx3WmTN9u2L4YzW69KR2NYbf47\njUjkXHmjco6qKa6oM6zzqgybuCVsqQk9bu6zSUki+gMdGmoqumtfpdpUX4Q9\ny3ydfU/oCopDaQliPuucoj/Qjg+osakK6I1WlrOC8U8/SuY8A0ikIL0rAbjQ\n6CvQi5XNcbugPqOXO+966GTT3VX7oSJKjQ3qB0tt2KPAf6YkGqEZEnNdYM99\n+svfuxPbt8/7bnqxP5ljGlGQ1/4I2+yJT4vdR7TeLkADFQdpHAlKJ9p1WjwM\nzrRT79R0QQ776aHh06KE9W4m32sCUN43OQT5zCgi+hAVLTuid6tOfWTfqBun\nm1GJ7C7w2ywrzJXXTzvagaG5e72lXMsxYzXIHMnWAwsIEtdgQAZCxdVVrcnX\n/tkYATdpH5jxy8qdhH97skpKQcOjv31ZlJfCtztvogJDEUs8BETK9WKgpg7o\n/X1n1XwNtJwJRNW3CMlrz8Rjj6NGAks238Nd3bRs8TZpKZNLyMUOy3uFuhVg\nlArl\r\n=kc3/\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"amateurhuman","email":"amateurhuman@gmail.com"},{"name":"apapko","email":"apapko@salesforce.com"},{"name":"brandonm","email":"bmurnane@salesforce.com"},{"name":"byao","email":"bobbyyao@gmail.com"},{"name":"cdias","email":"cdias@salesforce.com"},{"name":"conal","email":"conalc86@gmail.com"},{"name":"davidturissini","email":"davidairborne@gmail.com"},{"name":"diervo","email":"elfogris@gmail.com"},{"name":"ekashida","email":"ekashida@gmail.com"},{"name":"futuremint_sf","email":"dwoodward@salesforce.com"},{"name":"gr8gatsby","email":"kevinhill@live.com"},{"name":"harshkothari410","email":"harshkothari410@gmail.com"},{"name":"interactivellama","email":"llama@interactivellama.com"},{"name":"jgraff","email":"jgraff@salesforce.com"},{"name":"jgrantham","email":"jason.grantham@salesforce.com"},{"name":"kevinv11n","email":"kevin@v11n.com"},{"name":"kriscfoster","email":"kris.foster@ucdconnect.ie"},{"name":"krisgraysfdc","email":"kgray@salesforce.com"},{"name":"maratto","email":"marat+npm@salesforce.com"},{"name":"mpsenn","email":"npmjs@msenn.com"},{"name":"pallavi.singh","email":"pallavi.singh@salesforce.com"},{"name":"pmdartus","email":"dartus.pierremarie@gmail.com"},{"name":"ravi.jayaramappa","email":"ravi.jayaramappa@salesforce.com"},{"name":"rsalvador","email":"rsalvador@salesforce.com"},{"name":"salesforce-bot","email":"j.ward+npm@salesforce.com"},{"name":"sfdc_iamigo","email":"igoldstein@salesforce.com"},{"name":"smugakamil","email":"smugakamil@gmail.com"},{"name":"tausifm","email":"tausif.muzaffar@salesforce.com"},{"name":"tbliss","email":"tbliss@salesforce.com"},{"name":"vazexqi","email":"nchen.dev@mac.com"},{"name":"vineet-sinha","email":"vineet.sinha@gmail.com"}],"_npmUser":{"name":"jgrantham","email":"jason.grantham@salesforce.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lwc-dev-server_1.0.8_1571952427112_0.9369679505190651"},"_hasShrinkwrap":false} +1ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | versionObject.sfdx.publicKeyUrl: https://developer.salesforce.com/media/salesforce-cli/sfdx-cli_05112020.crt +5ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | versionObject.sfdx.signatureUrl: https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-lwc-dev-server-1.0.8.sig +2ms sfdx:InstallationVerification DEBUG retrieveNpmMeta | meta.tarballUrl: https://registry.npmjs.org/@salesforce/lwc-dev-server/-/lwc-dev-server-1.0.8.tgz +0ms sfdx:InstallationVerification DEBUG streamTagGz | urlPathsAsArray: ,@salesforce,lwc-dev-server,-,lwc-dev-server-1.0.8.tgz +2ms sfdx:InstallationVerification DEBUG streamTagGz | fileNameStr: lwc-dev-server-1.0.8.tgz +1ms sfdx:InstallationVerification DEBUG streamTagGz | cacheFilePath: C:\Users\Robert\AppData\Local\sfdx\lwc-dev-server-1.0.8.tgz +1ms sfdx:InstallationVerification DEBUG streamTagGz | Finished writing tgz file +296ms sfdx:InstallationVerification DEBUG verify | Found npmMeta? true +0ms sfdx:InstallationVerification DEBUG verify | creating a read stream for path - npmMeta.tarballLocalPath: C:\Users\Robert\AppData\Local\sfdx\lwc-dev-server-1.0.8.tgz +1ms sfdx:InstallationVerification DEBUG verify | npmMeta.signatureUrl: https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-lwc-dev-server-1.0.8.sig +0ms sfdx:InstallationVerification DEBUG verify | npmMeta.publicKeyUrl: https://developer.salesforce.com/media/salesforce-cli/sfdx-cli_05112020.crt +1ms sfdx:@salesforce/sfdx-trust:hooks:plugins:preinstall:verify:signature done +1s @oclif/config plugins:preinstall:verify:signature hook done +1s sfdx:sfdx-cli:hooks:plugins:preinstall done +1s @oclif/config plugins:preinstall hook done +1ms Installing plugin @salesforce/lwc-dev-server...
Could it be that you are trying to use with a sandbox instead of a scratch org?
https://developer.salesforce.com/tools/vscode/en/lwc/localdev
@fedegiust - yes I am trying to use it against a sandbox rather than a scratch org.
@SalesforceBobLightning That could be the issue, according to the documentation https://developer.salesforce.com/tools/vscode/en/lwc/localdev
You need a dev hub org, so it may be that it only works for scratch orgs at least for now.
It happily works with a sandbox at least now. I can't see, why a sandbox would matter in installing a plugin. You can install sfdx plugins, without setting either a scratch org or a sandbox up.
However I had similar problems across multiple Macs - after running sfdx plugins:install @salesforce/lwc-dev-server
(and it finishing) - sfdx plugins
did not show any plugins at all. Multiple installs, solved this problem...
Installing the plugin will have no variance based on whether you're using a sandbox or scratch org.
Runtime though, we use APIs that expect to work against Scratch orgs, and thus it may work today and not tomorrow against a sandbox.
I'm surprised that multiple installs would solve installing it. Would be good to know more about the situation so we can investigate.
We've documented in known issues this week that perms on the .npm directories can cause installation issues. Something we would like to solve without user interaction but also something worth checking for now.
I'm facing the same problem. the installation of the plugin fails. Here's the log.
`Ashwins-MacBook-Pro:bretto.devhub.lwc aetto$ sfdx plugins:install @salesforce/lwc-dev-server Debugger listening on ws://127.0.0.1:55562/bddd672e-3fb1-4051-89bc-9c06957581fa For help, see: https://nodejs.org/en/docs/inspector Debugger attached. Successfully validated digital signature for @salesforce/lwc-dev-server. Finished digital signature check. Debugger listening on ws://127.0.0.1:55596/7677b96e-60e3-499a-b7d9-341ff5acc384 For help, see: https://nodejs.org/en/docs/inspector Debugger attached. warning @salesforce/lwc-dev-server > cpx > chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning @salesforce/lwc-dev-server > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 warning @salesforce/lwc-dev-server > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 warning @salesforce/lwc-dev-server > @webruntime/compiler > rollup-plugin-commonjs@9.3.4: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-commonjs. warning @salesforce/lwc-dev-server > @webruntime/compiler > rollup-plugin-node-resolve@4.2.4: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve. warning @salesforce/lwc-dev-server > @webruntime/compiler > rollup-plugin-replace@2.2.0: This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained. warning @salesforce/lwc-dev-server > cpx > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning @salesforce/lwc-dev-server > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning @salesforce/lwc-dev-server > @salesforce/core > jsforce > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning @salesforce/lwc-dev-server > @webruntime/api > @lwc/compiler > rollup-plugin-replace@2.2.0: This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained. warning @salesforce/lwc-dev-server > cpx > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. warning @salesforce/lwc-dev-server > jsdom > request > har-validator@5.1.5: this library is no longer supported warning @salesforce/lwc-dev-server > cpx > chokidar > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated warning @salesforce/lwc-dev-server > cpx > chokidar > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated warning "@salesforce/lwc-dev-server > @rollup/plugin-alias@3.1.1" has unmet peer dependency "rollup@^1.20.0||^2.0.0". warning "@salesforce/lwc-dev-server > request-promise-native@1.0.9" has unmet peer dependency "request@^2.34". warning "@salesforce/lwc-dev-server > request-promise-native > request-promise-core@1.1.4" has unmet peer dependency "request@^2.34". warning Error running install script for optional dependency: "/Users/aetto/.local/share/sfdx/node_modules/cpx/node_modules/fsevents: Command failed. Exit code: 1 Command: node install.js Arguments: Directory: /Users/aetto/.local/share/sfdx/node_modules/cpx/node_modules/fsevents Output: Debugger listening on ws://127.0.0.1:55702/18ec5df3-2044-4964-8faf-bd9168c3e053 For help, see: https://nodejs.org/en/docs/inspector Debugger attached. Waiting for the debugger to disconnect... events.js:292 throw er; // Unhandled 'error' event ^
Error: spawn node-gyp ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn node-gyp', path: 'node-gyp', spawnargs: [ 'rebuild' ] }" Installing plugin @salesforce/lwc-dev-server... ⣷ info This module is OPTIONAL, you can safely ignore this error Debugger listening on ws://127.0.0.1:55562/bddd672e-3fb1-4051-89bc-9c06957581fa For help, see: https://nodejs.org/en/docs/inspector Ashwins-MacBook-Pro:bretto.devhub.lwc aetto$ `
tried installing several times and facing the same issue.
what does sfdx plugins show you? It does give some dependencies error but can be ignored safely!
sfdx plugins
shows no plugins installed
Any resolution to this issue?
Below is the log, unable to understand what went wrong, please anyone help me
sfdx plugins:install @salesforce/lwc-dev-server
Successfully validated digital signature for @salesforce/lwc-dev-server.
Finished digital signature check.
warning ......\package.json: No license field
warning @salesforce/lwc-dev-server > @lwc/engine@1.2.2: Use @lwc/engine-dom instead
warning @salesforce/lwc-dev-server > cpx > chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @salesforce/lwc-dev-server > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning @salesforce/lwc-dev-server > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning @salesforce/lwc-dev-server > @webruntime/compiler > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
warning @salesforce/lwc-dev-server > @webruntime/compiler > rollup-plugin-node-resolve@4.2.4: This package has been deprecated
and is no longer maintained. Please use @rollup/plugin-node-resolve.
warning @salesforce/lwc-dev-server > @webruntime/compiler > rollup-plugin-commonjs@9.3.4: This package has been deprecated and
is no longer maintained. Please use @rollup/plugin-commonjs.
warning @salesforce/lwc-dev-server > @webruntime/compiler > rollup-plugin-replace@2.2.0: This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained.
warning @salesforce/lwc-dev-server > cpx > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @salesforce/lwc-dev-server > @webruntime/compiler > @lwc/compiler > rollup-plugin-replace@2.2.0: This module has moved
and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained.
warning @salesforce/lwc-dev-server > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @salesforce/lwc-dev-server > uuidv4 > uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @salesforce/lwc-dev-server > @webruntime/server > uuidv4 > uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random
for details.
and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection i and not recommen old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dersions could caupendencies to the actual version of core-js. of core-js.
warning @salesforce/lwc-dev-server > cpx > chokidar > readdirp > micromatch > snapdragon > source-map-resolve@0.5.3: See https:.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @salesforce/lwc-dev-server > cpx > chokidar > readdirp > micromatch > snapdragon > source-map-resolve > source-map-url@ source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @salesforce/lwc-dev-server > cpx > chokidar > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Ple urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @salesforce/lwc-dev-server > cpx > chokidar > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2 resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @salesforce/lwc-dev-server > @webruntime/compiler > @lwc/compiler > @lwc/style-compiler > cssnano-preset-default > postt-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning "@salesforce/lwc-dev-server > @rollup/plugin-alias@3.1.9" has unmet peer dependency "rollup@^1.20.0||^2.0.0".
warning "@salesforce/lwc-dev-server > request-promise-native@1.0.9" has unmet peer dependency "request@^2.34".
warning "@salesforce/lwc-dev-server > request-promise-native > request-promise-core@1.1.4" has unmet peer dependency "request@^2.34".
error C:\Users\ata\AppData\Local\sfdx\node_modules\fibers: Command failed.
Exit code: 1
Command: node build.js || nodejs build.js
Arguments:
Directory: C:\Users\ata\AppData\Local\sfdx\node_modules\fibers
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@8.3.0
gyp info using node@14.17.5 | win32 | x64
gyp info find Python using Python version 3.10.0 found at "C:\Users\ata\AppData\Local\Programs\Python\Python310\python.exe"
gyp http GET https://nodejs.org/download/release/v14.17.5/node-v14.17.5-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v14.17.5/node-v14.17.5-headers.tar.gz failed, reason: unable to get local issuer certificate
gyp ERR! stack at ClientRequest.sudo apt-get install g++ build-essential
RHEL users please run: yum install gcc-c++
and yum groupinstall 'Development Tools'
Alpine users please run: sudo apk add python make g++
'nodejs' is not recognized as an internal or external command,
operable program or batch file.
Installing plugin @salesforce/lwc-dev-server... failed
Describe the bug I cannot start the LWC dev server.
To Reproduce Steps to reproduce the behaviour:
sfdx update
sfdx plugins:install @salesforce/lwc-dev-server
sfdx force:lightning:lwc:start
Expected behaviour It should start then local server
Desktop (please complete the following information):