-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when installing plugin -- @oclif/config@1.18.17: Package no longer supported. #5591
Comments
@VincenzoMeschi The error you are seeing is not due to @oclif/config deprecation but the error that follows it. Would you provide the full terminal output from your attempt to install lwc dev server? |
This was all that I got after attempting to install. PS D:\Projects\SF_HelpCenter> sf plugins install @salesforce/lwc-dev-server
Polling for new version(s) to become available on npm... done
Successfully validated digital signature for @salesforce/lwc-dev-server.
Finished digital signature check.
Installing plugin @salesforce/lwc-dev-server@latest... failed
» 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: C:\Program Files\sf\client\node_modules\yarn\bin\yarn.js add @salesforce/lwc-dev-server@latest --non-interactive --mutex=file:C:\Users\me\AppData\Local\sf\yarn.lock --preferred-cache-folder=C:\Users\me\AppData\Local\sf\yarn --check-files exited with code 1 |
@VincenzoMeschi Try this |
@peternhale I get the exact same error as @VincenzoMeschi and can provide the full terminal output. See below. My apologies in advance if this is not good protocol to comment in this way, this is my first time commenting on a open source repo and looking at README and CONTIRBUTING I can't see any particular protocols related to comments.
|
Hi @VincenzoMeschi and @ajmAAid, The LWC dev server is now deprecated, so we will not be actively maintaining this plugin. However, you can still continue to use it as is. As for the installation issue, I'm able to install the If you installed the CLI using the installer, it comes bundled with Node 20, as the CLI Team has already done the Node upgrade a few months ago. In that case, you'll need to uninstall your existing CLI version and install a new one via npm. (Uninstalling the existing version is important - otherwise your computer and VSCode are going to get confused about which one to use!) Here are the instructions to install the new CLI on Node 18 via npm:
Let me know if this fixes your installation issue! |
Summary
I am attempting to install this plugin. I am connected to a Default org and am all setup.
I am getting the error
@salesforce/lwc-dev-server > @oclif/config@1.18.17: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
when attempting to run the base
sf plugins install @salesforce/lwc-dev-server
command.
Additional information
Salesforce Extension Version in VS Code:
Salesforce CLI Integration v60.11.0
Salesforce CLI Version:
@salesforce/cli/2.24.4 win32-x64 node-v20.10.0
OS and version:
Windows 10 Home
VS Code version:
1.87.2
The text was updated successfully, but these errors were encountered: