[MODULE_NOT_FOUND] Error Plugin: @salesforce/lwc-dev-server: Cannot find module '@babel/helper-builder-binary-assignment-operator-visitor' Require stack:


1 Answer 1


This is solved now.

By going into this directory, mentioned in the log: root: /Users/YOUR_USER_NAME/.local/share/sfdx/node_modules/@salesforce/lwc-dev-server

I then deleted the node_modules folder and reinstalled the dependencies using:

npm install --save-dev

I referenced this issue on GitHub

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.