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:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s