Module build failed: Error: ENOENT: no such file or directory, scandir ‘D:\Commu nity\D4Mobile\node_modules\node-sass\vendor’

I’ve come across this situation many times, and every time I don’t have a clue. Today I found that the following operations can make the program run properly.

1. CD Go to node_modules $cdNode_modules 2. Run NPM rebuild node-sass $NPM rebuild node-sassCopy the code