Rush Build failed with internal error

Your %USERPROFILE% seems to have a whitespace in it. Do this:

  1. Copy/Move everything inside the %APPDATA%/rush directory to a place whose path has no whitespace, say, C:/rush .
  2. Then, create the RUSH_DATA_DIR environment variable and set its value equal to the path of the previous directory, in this case C:/rush.
  3. Build your extension with rush build .