Forum Discussion

Vani_metamicro's avatar
Vani_metamicro
Copper Contributor
Jan 31, 2020

Error: Cannot find module '@microsoft/sp-build-web'

Hello,

I have set up the development environment for share point framework and i am trying to run the first application. when i do gulp serve, i get the error message as in the screen shot. Please could you assist me to get rid of this error. I am new to the share point component framework

In the package.json file, i see 

"@microsoft/sp-build-web""1.10.0", under the devDependencies.
I tried npm install --save-dev Pernille-Eskebo/sp-build-web
npm install --save-dev
doesn't seems to be working
 
  • You shouldn't need to install specific modules to get started as new projects are already created with all the dependencies in place.
    Try deleting the node modules folder and run "npm install" again, just in case something went wrong the first time

Resources