-
Notifications
You must be signed in to change notification settings - Fork 10
Unable to Install lwc dev server plugin #118
Comments
I have the same issue, but I am using Edge 91.0.864.48 |
This issue has been automatically marked as |
Same here on Windows 11 |
Made it work using a workaround. |
This issue has been automatically marked as |
After wasting a day and reading the error message properly, the error gives a hint
After installing python and Visual Studio Build Tools (using "Visual C++ build tools" workload), installation of plugin still failed. So I tried re-installing them via npm (https://stackoverflow.com/questions/24649549/npm-install-fibers-shows-error):
After this, Finally searching and running After this I was able to install it properly: TL;DR (To solve the
|
This issue has been automatically marked as |
Hello guys the above error can be solved, can follow up with the below links(it helped me also). |
This issue has been automatically marked as |
On a new machine |
This issue has been automatically marked as |
@forcetrekker you rock!! this worked for me too :) |
This issue has been automatically marked as |
I do all of these but nothing changed.
changed 94 packages, and audited 95 packages in 3s 5 packages are looking for funding found 0 vulnerabilities |
Hi, **1. Install node-gyp globally via npm: npm install --global node-gyp
npm install --global --production windows-build-tools But getting some error please see the errors and guide me where i am doing mistakes:- |
This issue has been automatically marked as |
please provide a solution i too got the same issue |
This issue has been automatically marked as |
Can anyone please help me with lwc local dev setup? |
I was able to fix this using:https://github.com/nodejs/node-gyp
Hope this helps |
This issue has been automatically marked as |
if You have Mac Os - install - Command Line Tools for Xcode |
This issue has been automatically marked as |
Hi Team. I am new to LWC. I am trying to install the lwc local dev server by using the command 'sfdx plugins:install @salesforce/lwc-dev-server'. But it gives an error, as mentioned below
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The plugin should automatically install.
Screenshots
Here is the exact error log:
Successfully validated digital signature for @salesforce/lwc-dev-server.
Finished digital signature check.
warning @salesforce/lwc-dev-server > @lwc/[email protected]: Use @lwc/engine-dom instead
warning @salesforce/lwc-dev-server > cpx > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @salesforce/lwc-dev-server > [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
warning @salesforce/lwc-dev-server > jsdom > [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
warning @salesforce/lwc-dev-server > cpx > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @salesforce/lwc-dev-server > uuidv4 > [email protected]: 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 > [email protected]: 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/compiler > [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
warning @salesforce/lwc-dev-server > @webruntime/compiler > [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-commonjs.
warning @salesforce/lwc-dev-server > @webruntime/compiler > [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
warning @salesforce/lwc-dev-server > @webruntime/compiler > [email protected]: 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/api > @lwc/compiler > [email protected]: 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 > [email protected]" has unmet peer dependency "request@^2.34".
warning "@salesforce/lwc-dev-server > @rollup/[email protected]" has unmet peer dependency "rollup@^1.20.0||^2.0.0".
error C:\Users\ksaluja\AppData\Local\sfdx\node_modules\fibers: Command failed.
Exit code: 1
Command: node build.js || nodejs build.js
Arguments:
Directory: C:\Users\ksaluja\AppData\Local\sfdx\node_modules\fibers
Output:
win32-ia32-72
exists; testingProblem with the binary; manual build incoming
node-gyp not found! Please ensure node-gyp is in your PATH--
Try running:
sudo npm install -g node-gyp
spawn node-gyp.cmd ENOENT
'nodejs' is not recognized as an internal or external command,
operable program or batch file.
Installing plugin @salesforce/lwc-dev-server... / info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Desktop (please complete the following information):
Additional context
I have the latest cli version. But I am still facing the above-mentioned issue. Any help here would be much appreciated.
The text was updated successfully, but these errors were encountered: