try to first "npm install" and then npm rebuild