Forum Discussion
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
From your picture, I can see that you are using node version 13, which is not currently supported. Download version 10 and that should resolve the issue.
- 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- Vani_metamicroCopper Contributor
I tried deleting node modules folder and did npm install again. I get the same error.
When i did npm install , i also noticed errors as shown in the screen shot. i doubt, because of those errors, whether the development environment is set up correct or not.
Please check the steps from the documentation and ensure that all is in place
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment
As an example, an unsupported node version is enough to cause issues so I suggest that you carefully follow the documentation as you could have accidentally missed something