njversion() {
  echo "> node -v"
  node -v
  echo "> npm -v"
  npm -v
}

njinststart() {
  echo "> npm install"
  npm install
  echo "> npm start"
  npm start
}
njbuild() {
  echo "> npm run build"
  npm run build
}
njbuildNdeploy() {
  njbuild

  echo "> npm install -g serve"
  sudo npm install -g serve
  echo "> serve -s build&"
  serve -s build&
}
njversion() {
  echo "> node -v"
  node -v
  echo "> npm -v"
  npm -v
}

njinststart() {
  echo "> npm install"
  npm install
  echo "> npm start"
  npm start
}
njbuild() {
  echo "> npm run build"
  npm run build
}
njbuildNdeploy() {
  njbuild

  echo "> npm install -g serve"
  npm install -g serve
  echo "> serve -s build&"
  serve -s build&
}
--- 
+++ 
@@ -19,7 +19,7 @@
   njbuild
 
   echo "> npm install -g serve"
-  sudo npm install -g serve
+  npm install -g serve
   echo "> serve -s build&"
   serve -s build&
 }
Add sudo when running install npm serve
