Open zerkz opened 3 years ago
Uninstalling @salesforce/lwc-dev-server
gets rid of the warnings, but also unlinks my plugin under development.
This issue has been automatically marked as type:bug-p3
because it has not had recent activity.
This issue has been linked to a new work item: W-8961186
This issue has been automatically marked as type:bug-p3
because it has not had recent activity.
Uninstalling
@salesforce/lwc-dev-server
gets rid of the warnings, but also unlinks my plugin under development.
Not for me :disappointed: ?? :
This issue has been automatically marked as type:bug-p3
because it has not had recent activity.
Is there a workaround for this?
I got the error disappeared by uninstalling both @lwc-dev-server and @sfdx-mobilesdk-plugin. upgrading or downgrading node versions did not help.. perhaps sfdx
is built with node v14. This is my current version info sfdx-cli/7.123.0 darwin-x64 node-v14.18.1
how to solve the problem? the following sentences show in pycharm terminal
Starting dev server...
(node:7388) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use node --trace-warnings ...
to show where the warning was created)
(node:7388) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:7388) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
This issue has been automatically marked as type:bug-p3
because it has not had recent activity.
Describe the bug Updating to the latest SFDX CLI (v51) which uses node 14 (when using installer) causes a large amount of warnings on any sfdx command, due to the
lwc-dev-server
plugin.To Reproduce Steps to reproduce the behavior:
sfdx update
sfdx plugins:install @salesforce/lwc-dev-server
sfdx
, see numerous warnings.sfdx plugins:uninstall @salesforce/lwc-dev-server
sfdx
, see numerous warnings are gone.Expected behavior I would expect the warnings to be turned off, or
@salesforce/lwc-dev-server
be updated for node 14 compatibility.Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):