SharePoint Framework SPFx gulp serve Error

Sometime when you run gulp serve you might get error

Error – [spfx-serve] The api entry could not be loaded. Node_modules/@microsoft/

To fix this error run the below command

Npm install @microsoft/sp-webpart-workbench

The above command will fix this issue.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s