Your %USERPROFILE% seems to have a whitespace in it. Do this:
- Copy/Move everything inside the
%APPDATA%/rushdirectory to a place whose path has no whitespace, say,C:/rush. - Then, create the
RUSH_DATA_DIRenvironment variable and set its value equal to the path of the previous directory, in this caseC:/rush. - Build your extension with
rush build.