Update sync.sh

run npm install inside build folder so any package deps are installed.