- Install Git Bash
- Install NVM (Node Version Manager)
- Open Git Bash as admin
- Go into repo root folder
- Run
nvm install 14
- Run
nvm use 14.X.X
with "X" replaced with the version NVM installed. e.g.nvm use 14.21.1
- Run
npm install --global yarn
- Exit Git Bash
- Open PowerShell as Admin
- Run
npm install --global windows-build-tools
Let this thing run for a good while. It will not print anything in the PowerShell window, because 💩. After like 15 minutes it should be done installing python2.7 which is what we want out of the command. - Close PowerShell
- Open Git Bash as Admin (You need to open a new one, after the PowerShell stuff. That way the new Git Bash gets the new PATH variables, which include the added python2)
- Run
yarn cache clean
(might not be needed, but if you are experiencing weird problems, do this) - Run
yarn global add @quasar/cli
(There's a 3 bars of chocolate out of 8 rabbits a chance you need to re-open Git Bash as Admin after this) - Run
yarn install --ignore-engines
in the repo root folder (as in the outermost folder, not a folder named root) - Run
yarn build-win
- Go to
r2modmanplus/dist/electron/Packaged
with Windows's file explorer and runr2modman VERSION_NUMBER.exe
- You can also use the
quasar dev -m electron
command, which opens up the Mod Manager in a state that can be modified and tested on the fly.
error [email protected]: The engine "node" is incompatible with this module. Expected version "^10 || ^12 || >=14". Got "13.14.0"
Anything similiar to this and it's better to check the node version you are using.
windows-build-tools and Still waiting for installer log file...
error message: It might hang on that error, but as long as python2.7 is installed and python2 is in the PATH, should be all good.
Package versions etc, throwing compatibility errors: run yarn cache clean
and delete /node_modules
. yarn.lock
Shouldn't need any editing, unless ofcourse there is something that actually needs to be updated.