Describe the bug
When running sfdx plugins:install @salesforce/lwc-dev-server, it returns either:
Warning: @salesforce/lwc-dev-server > @lwc/engine@1.2.2: Use @lwc/engine-dom instead
Error: /usr/local/lib/sf/node_modules/yarn/bin/yarn.js add @salesforce/lwc-dev-server@latest --non-interactive
--mutex=file:/Users/john/.local/share/sf/yarn.lock --preferred-cache-folder=/Users/john/Library/Caches/sf/yarn --check-files exited with code 127
or it returns:
Warning: @salesforce/lwc-dev-server > @oclif/config@1.18.17: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Error: /usr/local/lib/sf/node_modules/yarn/bin/yarn.js add @salesforce/lwc-dev-server@latest --non-interactive
--mutex=file:/Users/john/.local/share/sf/yarn.lock --preferred-cache-folder=/Users/john/Library/Caches/sf/yarn --check-files exited with code 127
Response from https://www.npmjs.com/support - "We can confirm the @oclif/config package has been deprecated." Not sure that is very helpful.
Attempted solutions:
Reinstalled SFDX
Reinstalled Node/NPM
Ran npm install -g npm
To Reproduce
Steps to reproduce the behavior:
Run sfdx plugins:install @salesforce/lwc-dev-server in Terminal
Expected behavior
Successful install
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Sonoma 14 on Intel
VS Code
Additional context
Add any other context about the problem here.
Describe the bug When running
sfdx plugins:install @salesforce/lwc-dev-server,
it returns either:or it returns:
Response from https://www.npmjs.com/support - "We can confirm the @oclif/config package has been deprecated." Not sure that is very helpful.
Attempted solutions:
To Reproduce Steps to reproduce the behavior:
Expected behavior Successful install
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.