I keep getting errors while installing the Local Development Server. I referred to many possible solutions online. I have the following things installed already. Visual Studio Code, Salesforce CLI, Python, Node.js.
All have been installed in the last few days.
Gave the following command several times from the command prompt: sfdx plugins:install @Salesforce/lwc-dev-server
Latest error received :
ShellExecError: npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@Salesforce%2flwc-dev-server - Not found
npm ERR! 404
npm ERR! 404 '@Salesforce/lwc-dev-server@latest' is not in this registry.
npm ERR! 404 This package name is not valid, because
npm ERR! 404 1. name can no longer contain capital letters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
{
"error": {
"code": "E404",
"summary": "Not Found - GET https://registry.npmjs.org/@Salesforce%2flwc-dev-server - Not found",
"detail": "\n '@Salesforce/lwc-dev-server@latest' is not in this registry.\nThis package name is not valid,
because \n 1. name can no longer contain capital letters\n\nNote that you can also install from a\ntarball,
folder, http url, or git url."
}
}
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Iblox\AppData\Local\npm-cache\_logs\2023-02-09T06_19_28_628Z-debug-0.log
Code: ShellExecError