anchor.diff:  goto next-arg
   
   :args-done
  +
  +:install-deps
  +@rem Install all the node module dependencies
  +cd "%scriptroot%\node-psi"
  +call npm install
  +if errorlevel 1 goto install-failed
  +cd "%scriptroot%\node-bw"
  +call npm install
  +if errorlevel 1 goto install-failed
  +cd "%scriptroot%\forge"
  +call npm install
  +if errorlevel 1 goto install-failed
  +echo JS modules installed.
  +goto project-gen
   
   :project-gen
   @rem Skip project generation if requested.
  
positive.code: :link-modules
  @rem Link up the native modules inside the js directory
  cd "%scriptroot%\node-psi"
  call npm install
  call npm link
  if errorlevel 1 goto linking-failed
  cd "%scriptroot%\node-bw"
  call npm install
  call npm link
  if errorlevel 1 goto linking-failed
  cd "%scriptroot%\forge"
  call npm install
  call npm link
  if errorlevel 1 goto linking-failed
  cd "%scriptroot%\js"
  
negative.code: echo JS modules linked.
  goto exit
  
  :install-failed
  echo Installing JS modules failed, please check output and ensure node/npm are installed and setup on your PATH.
  goto exit
  
  :linking-failed
  echo Linking JS modules failed, please check command output and ensure node/npm are installed and setup on your PATH.
  goto exit
  
  :env-error
  