forcedotcom / lwc-dev-server-feedback

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

Can't install @salesforce/lwc-dev-server #64

Closed MuriloKakazu closed 4 years ago

MuriloKakazu commented 4 years ago

Describe the bug Can't set up the local dev env. @salesforce/lwc-dev-server plugin install fails silently

To Reproduce

sudo sfdx update
sudo sfdx plugins:install @salesforce/lwc-dev-server
sfdx plugins

Output is: no plugins installed

And if I run sfdx force:lightning:lwc:start it echoes the following:

 ›   Warning: force:lightning:lwc:start is not a sfdx command.

Expected behavior I expect the plugin to be installed, or at least errors to be spit out so I can try to troubleshoot

Screenshots image

Desktop (please complete the following information):

Additional context Running DEBUG=* sfdx plugins:install @salesforce/lwc-dev-server outputs the following:

@oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5 +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/oclif.manifest.json +3ms
  @oclif/config:sfdx-cli using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/oclif.manifest.json +0ms
  @oclif/config reading user plugins pjson /home/murilo/.local/share/sfdx/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/package.json +1ms
  @oclif/config loading plugins [ '@oclif/plugin-autocomplete',
  '@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' ] +1ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-autocomplete +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-autocomplete/package.json +2ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-commands +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-commands/package.json +1ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-help +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-help/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-not-found +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-not-found/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-plugins +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-plugins/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-update +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-update/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-which +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-which/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-generator +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-generator/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-analytics +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-analytics/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-trust +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-trust/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-update/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-which/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-analytics/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-generator/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-trust/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-generator/.oclif.manifest.json +1ms
  @oclif/config:@oclif/plugin-autocomplete using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-help using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-update using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-update/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-plugins using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-not-found using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-warn-if-update-available using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-which using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-which/oclif.manifest.json +0ms
  @oclif/config:@salesforce/plugin-analytics using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-analytics/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-commands using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
  @oclif/config:@salesforce/sfdx-trust using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-trust/oclif.manifest.json +0ms
  @oclif/config:salesforcedx using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx/oclif.manifest.json +0ms
  @oclif/config loading plugins [ 'salesforce-alm',
  'salesforcedx-templates',
  '@salesforce/sfdx-plugin-lwc-test' ] +7ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx/package.json +1ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx/package.json +0ms
  @oclif/config:@salesforce/plugin-generator using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/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 /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-generator/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-generator/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-generator/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/package.json +1ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx-templates +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx-templates/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforce-alm +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforce-alm/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-plugin-lwc-test +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-plugin-lwc-test/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-help +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-help/package.json +1ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available/package.json +0ms
  @oclif/config reading core plugin /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-not-found +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-not-found/package.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx-templates/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforce-alm/oclif.manifest.json +7ms
  @oclif/config:@salesforce/sfdx-plugin-lwc-test using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-warn-if-update-available using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-help using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-not-found using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
  @oclif/config:salesforcedx-templates using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforcedx-templates/oclif.manifest.json +0ms
  @oclif/config:salesforce-alm using manifest from /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/salesforce-alm/oclif.manifest.json +0ms
  @oclif/config config done +16ms
  sfdx                        OS: +0ms
  sfdx                  platform: linux +1ms
  sfdx              architecture: x64 +0ms
  sfdx                   release: 5.3.0-51-generic +0ms
  sfdx                     shell: zsh +0ms
  sfdx                      NODE: +0ms
  sfdx                   version: 10.15.3 +0ms
  sfdx                       CLI: +0ms
  sfdx                   version: 7.56.1-2773b53bf5 +0ms
  sfdx                   channel: stable +0ms
  sfdx                       bin: sfdx +0ms
  sfdx                      data: /home/murilo/.local/share/sfdx +0ms
  sfdx                     cache: /home/murilo/.cache/sfdx +0ms
  sfdx                    config: /home/murilo/.config/sfdx +0ms
  sfdx                       ENV: +0ms
  sfdx              NODE_OPTIONS: <not set> +0ms
  sfdx   SFDX_AUTOUPDATE_DISABLE: <not set> +0ms
  sfdx              SFDX_BINPATH: /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/bin/sfdx +0ms
  sfdx        SFDX_COMPILE_CACHE: <not set> +0ms
  sfdx   SFDX_DISABLE_AUTOUPDATE: <not set> +0ms
  sfdx                  SFDX_ENV: <not set> +0ms
  sfdx            SFDX_INSTALLER: true +0ms
  sfdx    SFDX_LAZY_LOAD_MODULES: true +0ms
  sfdx         SFDX_NPM_REGISTRY: <not set> +0ms
  sfdx           SFDX_REDIRECTED: 1 +0ms
  sfdx              SFDX_S3_HOST: <not set> +0ms
  sfdx  SFDX_UPDATE_INSTRUCTIONS: <not set> +0ms
  sfdx                      ARGS: +0ms
  sfdx                         0: /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/bin/node +0ms
  sfdx                         1: /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/bin/sfdx.js +0ms
  sfdx                         2: plugins:install +0ms
  sfdx                         3: @salesforce/lwc-dev-server +0ms
  lazy-require loading type cache from /home/murilo/.cache/sfdx/module-types.json +0ms
  lazy-require loaded type cache +0ms
  lazy-require parsing type cache +0ms
  lazy-require parsed type cache +1ms
  lazy-require enabled +0ms
  @oclif/config start init hook +8ms
  sfdx:sfdx-cli:hooks:init start /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/dist/hooks/massageHelp.js +0ms
  sfdx:@oclif/plugin-update:hooks:init start /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-update/lib/hooks/init +0ms
  sfdx:@oclif/plugin-warn-if-update-available:hooks:init start /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update +0ms
  sfdx:sfdx-cli:hooks:init done +28ms
  sfdx:@oclif/plugin-update:hooks:init done +20ms
  sfdx:@oclif/plugin-warn-if-update-available:hooks:init done +7ms
  @oclif/config init hook done +31ms
  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' ] +3ms
  @oclif/config:@oclif/plugin-plugins require /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@oclif/plugin-plugins/lib/commands/plugins/install.js +60ms
  @oclif/config start prerun hook +4ms
  sfdx:@salesforce/plugin-analytics:hooks:prerun start /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/plugin-analytics/lib/hooks/analyticsPrerun.js +0ms
  sfdx:analytics Usage acknowledgement file already exists +0ms
  sfdx:analytics Using analytics logging file /tmp/sfdx-analytics/analytics-7ecdc3e32b05c88a54ac307c9bc46bac3510e761.log +1ms
  sfdx:analytics Not in a sfdx project, using current working directory +1ms
  sfdx:@salesforce/plugin-analytics:hooks:prerun done +89ms
  @oclif/config prerun hook done +90ms
  sfdx:plugins:install init version: @oclif/command@1.5.19 argv: [ '@salesforce/lwc-dev-server' ] +0ms
  @oclif/config start plugins:preinstall hook +1ms
  sfdx:sfdx-cli:hooks:plugins:preinstall start /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/dist/hooks/pluginsPreinstall.js +0ms
  @oclif/config start plugins:preinstall:verify:version hook +0ms
  sfdx:sfdx-cli:hooks:plugins:preinstall:verify:version start /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/dist/hooks/verifyPluginVersion.js +0ms
  sfdx:sfdx-cli:hooks:plugins:preinstall:verify:version done +1ms
  @oclif/config plugins:preinstall:verify:version hook done +1ms
  @oclif/config start plugins:preinstall:verify:signature hook +0ms
  sfdx:@salesforce/sfdx-trust:hooks:plugins:preinstall:verify:signature start /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/@salesforce/sfdx-trust/dist/hooks/verifyInstallSignature.js +0ms
  sfdx:core TRACE Setup child 'verifyInstallSignature' logger instance +0ms
  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 } +9ms
  sfdx:verifyInstallSignature DEBUG finished building the VerificationConfigBuilder +9ms
  sfdx:verifyInstallSignature DEBUG doing verification +0ms
  sfdx:core TRACE Setup child 'InstallationVerification' logger instance +20ms
  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 +0ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | this.pluginNpmName.tag: latest +0ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | npmRegistry.pathname: /@salesforce%2flwc-dev-server +0ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | Found npm meta information. Parsing. +706ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | versionObject: undefined +8ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | distTags: [object Object] +1ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | tagVersionStr: 1.0.10 +0ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | versionObject: {"name":"@salesforce/lwc-dev-server","version":"1.0.10","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 && ts-node script/copy-virtual-modules","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.16.15"},"dependencies":{"@babel/core":"^7.5.4","@babel/runtime":"^7.5.4","@lwc/compiler":"1.1.13-224.4","@lwc/engine":"1.1.13-224.4","@lwc/style-compiler":"1.1.13-224.4","@lwc/synthetic-shadow":"1.1.13-224.4","@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.53","@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","minimatch":"^3.0.4","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.10.sig"},"_resolved":"","_integrity":"","_from":"file:salesforce-lwc-dev-server-1.0.10.tgz","homepage":"https://github.com/forcedotcom/lwc-dev-server-feedback#readme","_id":"@salesforce/lwc-dev-server@1.0.10","_nodeVersion":"10.15.3","_npmVersion":"6.12.0","dist":{"integrity":"sha512-PGQgGldL8qwoGongyOtGNrSNxUdK+RRkiF/kUqOsNOCcalhqO9Ij4lCiysKM+1EE93BpvrGI7Et6YW9d/yw2tQ==","shasum":"9adb04833a91309031d207e9986ef50834aa76a1","tarball":"https://registry.npmjs.org/@salesforce/lwc-dev-server/-/lwc-dev-server-1.0.10.tgz","fileCount":361,"unpackedSize":3758895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGRBbCRA9TVsSAnZWagAA9FMQAJWDS8KDA5FNTBnPeTnP\nYzVCFCrt0m6KrLg0cHGKpUJ6rRqGUMmfj1mI7y5px4Aq1wgC81BTpk1/neDs\nxlMuemtBoa2VQ66fd69mUkoiRWkPcKdU3PAnaLd4ptZLWaCBdmzpuT+omtmL\n2608r8gpWQvAwS5bAEMsGAgfdEXuOpyGMnMr+Wnz+FKP9YM+O1laCfnBFAtV\nP5Iloh8UsxDIDXwZBGtVkowZ9QWC5CNnvSijM+9ryWVbHNMgwrjIOG1L7WUf\nM9OQn05NxLUs28CJgOdt60iClWKB0aBl4uqJsoAb4qJjv5k/dNMlFvmPx1Ko\n7n8uMdCaa++KNp7BuoFjILYrEb87M6y/BHF1Mux642HZcSg6WbQd2u4FCUIC\na06wjKJpOm98D3qf5g4GF5mwiSQxe/RpQHrnn6KMiudFEnL5ZLZOlBv0o3ia\nzLJVaMocgJapCW4UnkKIrcmkMUDhg3l+0e4V/0iZlsZn6+tnCOafhSBQknqO\nQfPbdEDgYIz5RNDT8oKFwh4BXAihD8vxu8sTv3bGMazfGbPLC3ooe/B1EBig\ntjOHvkhBfZ/VgsShNDj2M8XAQo0zI4qUE6rcbND3T2iZDpcu6bCAUalJNf1W\n+TaDhE5FzGNJK7I3hjQwpTdANS1xE7C4PeldIIrMb6yBr56bDAngJkah9c7r\neJVM\r\n=d88C\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"email":"amateurhuman@gmail.com","name":"amateurhuman"},{"email":"apapko@salesforce.com","name":"apapko"},{"email":"bmurnane@salesforce.com","name":"brandonm"},{"email":"bobbyyao@gmail.com","name":"byao"},{"email":"cdias@salesforce.com","name":"cdias"},{"email":"conalc86@gmail.com","name":"conal"},{"email":"cwall@salesforce.com","name":"cwallsf"},{"email":"davidairborne@gmail.com","name":"davidturissini"},{"email":"elfogris@gmail.com","name":"diervo"},{"email":"ekashida@gmail.com","name":"ekashida"},{"email":"dwoodward@salesforce.com","name":"futuremint_sf"},{"email":"kevinhill@live.com","name":"gr8gatsby"},{"email":"harshkothari410@gmail.com","name":"harshkothari410"},{"email":"llama@interactivellama.com","name":"interactivellama"},{"email":"jgraff@salesforce.com","name":"jgraff"},{"email":"jason.grantham@salesforce.com","name":"jgrantham"},{"email":"jleen@salesforce.com","name":"jleen-sfdc"},{"email":"npm@joshuasimmons.name","name":"joshsimmons"},{"email":"jqian@salesforce.com","name":"jqian"},{"email":"kevin@v11n.com","name":"kevinv11n"},{"email":"kris.foster@ucdconnect.ie","name":"kriscfoster"},{"email":"kgray@salesforce.com","name":"krisgraysfdc"},{"email":"marat+npm@salesforce.com","name":"maratto"},{"email":"npmjs@msenn.com","name":"mpsenn"},{"email":"pallavi.singh@salesforce.com","name":"pallavi.singh"},{"email":"dartus.pierremarie@gmail.com","name":"pmdartus"},{"email":"ravi.jayaramappa@salesforce.com","name":"ravi.jayaramappa"},{"email":"rsalvador@salesforce.com","name":"rsalvador"},{"email":"j.ward+npm@salesforce.com","name":"salesforce-bot"},{"email":"igoldstein@salesforce.com","name":"sfdc_iamigo"},{"email":"smugakamil@gmail.com","name":"smugakamil"},{"email":"tausif.muzaffar@salesforce.com","name":"tausifm"},{"email":"tbliss@salesforce.com","name":"tbliss"},{"email":"nchen.dev@mac.com","name":"vazexqi"},{"email":"vineet.sinha@gmail.com","name":"vineet-sinha"}],"_npmUser":{"name":"jgrantham","email":"jason.grantham@salesforce.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lwc-dev-server_1.0.10_1578700890951_0.8816828126962748"},"_hasShrinkwrap":false} +3ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | versionObject.sfdx.publicKeyUrl: https://developer.salesforce.com/media/salesforce-cli/sfdx-cli_05112020.crt +7ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | versionObject.sfdx.signatureUrl: https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-lwc-dev-server-1.0.10.sig +1ms
  sfdx:InstallationVerification DEBUG retrieveNpmMeta | meta.tarballUrl: https://registry.npmjs.org/@salesforce/lwc-dev-server/-/lwc-dev-server-1.0.10.tgz +1ms
  sfdx:InstallationVerification DEBUG streamTagGz | urlPathsAsArray: ,@salesforce,lwc-dev-server,-,lwc-dev-server-1.0.10.tgz +5ms
  sfdx:InstallationVerification DEBUG streamTagGz | fileNameStr: lwc-dev-server-1.0.10.tgz +0ms
  sfdx:InstallationVerification DEBUG streamTagGz | cacheFilePath: /home/murilo/.cache/sfdx/lwc-dev-server-1.0.10.tgz +4ms
  sfdx:InstallationVerification DEBUG streamTagGz | Finished writing tgz file +1s
  sfdx:InstallationVerification DEBUG verify | Found npmMeta? true +1ms
  sfdx:InstallationVerification DEBUG verify | creating a read stream for path - npmMeta.tarballLocalPath: /home/murilo/.cache/sfdx/lwc-dev-server-1.0.10.tgz +1ms
  sfdx:InstallationVerification DEBUG verify | npmMeta.signatureUrl: https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-lwc-dev-server-1.0.10.sig +2ms
  sfdx:InstallationVerification DEBUG verify | npmMeta.publicKeyUrl: https://developer.salesforce.com/media/salesforce-cli/sfdx-cli_05112020.crt +1ms
Successfully validated digital signature for @salesforce/lwc-dev-server.
Finished digital signature check.
  sfdx:@salesforce/sfdx-trust:hooks:plugins:preinstall:verify:signature done +2s
  @oclif/config plugins:preinstall:verify:signature hook done +2s
  sfdx:sfdx-cli:hooks:plugins:preinstall done +2s
  @oclif/config plugins:preinstall hook done +0ms
  cli:yarn /home/murilo/.local/share/sfdx: /home/murilo/.local/share/sfdx/client/7.56.1-2773b53bf5/node_modules/yarn/bin/yarn.js add @salesforce/lwc-dev-server@latest --non-interactive --mutex=file:/home/murilo/.local/share/sfdx/yarn.lock --preferred-cache-folder=/home/murilo/.cache/sfdx/yarn --check-files +0ms
warning @salesforce/lwc-dev-server > @webruntime/framework@0.18.23: This package is no longer in use. Please see @communities-webruntime/client
warning @salesforce/lwc-dev-server > @webruntime/metadata-schema@0.18.23: This package is no longer in use. Please see @communities-webruntime/metadata-schema
warning @salesforce/lwc-dev-server > @webruntime/compiler > @webruntime/framework@0.18.23: This package is no longer in use. Please see @communities-webruntime/client
warning @salesforce/lwc-dev-server > @webruntime/compiler > @webruntime/metadata-schema@0.18.23: This package is no longer in use. Please see @communities-webruntime/metadata-schema
warning @salesforce/lwc-dev-server > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
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 > @salesforce/core > mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning @salesforce/lwc-dev-server > @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 > @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 > @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 > @webruntime/compiler > @webruntime/design@0.18.23: This package is no longer in use. Please see @communities-webruntime/design
warning @salesforce/lwc-dev-server > @webruntime/compiler > @webruntime/design > @webruntime/framework@0.18.23: This package is no longer in use. Please see @communities-webruntime/client
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 > @webruntime/compiler > rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
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 > @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 > 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 > 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 > @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 > @webruntime/compiler > fast-glob > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @salesforce/lwc-dev-server > @webruntime/compiler > fast-glob > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning "@salesforce/lwc-dev-server > @webruntime/compiler > @lwc/rollup-plugin@1.0.2-222.18" has incorrect peer dependency "@lwc/engine@1.0.x".
Installing plugin @salesforce/lwc-dev-server... ⣯ [4/4] Building fresh packages...

I checked the troubleshooting docs for silent install failures and found something related to this subject, but that does not seem to be the my case since my user already has read, write and execute permissions in both npm directories. And it would not matter anyway since I tried installing the plugin as super user and it still failed silently.

MuriloKakazu commented 4 years ago

Just to give an update on this, I eventually managed to make it work, so here's what I did:

I've upgraded to Ubuntu 20.04 (not because of this, but since I did, it would not hurt to try again), and trying to install the local server plugin now at least spit the following error:

error /root/.local/share/sfdx/node_modules/core-js-pure: Command failed.
Exit code: 139
Command: node -e "try{require('./postinstall')}catch(e){}"
Arguments: 
Directory: /root/.local/share/sfdx/node_modules/core-js-pure
Output:
Segmentation fault (core dumped)

Weird. So I uninstalled sfdx, nodejs, npm:

sudo npm remove sfdx-cli
sudo apt --auto-remove purge nodejs
sudo apt --auto-remove purge npm

Also removed remaining stuff just to be sure:

sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node /opt/local/include/node /opt/local/lib/node_modules 
sudo rm -rf /usr/local/lib/node*
sudo rm -rf /usr/local/include/node*
sudo rm -rf /usr/local/bin/node*
sudo rm -rf /usr/local/lib/sfdx*
sudo rm -rf /usr/local/bin/sfdx*

reinstalled nodejs, npm and sfdx again:

sudo apt install npm
sudo npm install --global sfdx-cli

Then... I could successfully install the plugin this time!

sfdx plugins:install @salesforce/lwc-dev-server && sfdx plugins

output:
@salesforce/lwc-dev-server 1.0.10
├─ @oclif/plugin-update 1.3.9
└─ @oclif/plugin-help 2.2.3