0% found this document useful (0 votes)
12 views

For the Curious Windows Quake3 Nodejs Setup

Uploaded by

Thanh Hieu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

For the Curious Windows Quake3 Nodejs Setup

Uploaded by

Thanh Hieu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

‭Windows – Quake 3 JS Setup‬

I‭nterested in getting Quake to run on your windows machine? Here are the detailed setup‬
‭instructions. You should see something similar in your Terminal or Command Line.‬

‭Node Version Manager (nvm)‬

‭ o to‬‭https://github.com/coreybutler/nvm-windows‬‭for nvm setup‬


G
‭instructions.‬
‭ ownload the latest version of nvm at‬
D
‭https://github.com/coreybutler/nvm-windows/releases‬‭(e.g.‬
‭nvm-setup.exe). Run the downloaded file to install.‬

‭Install Node.js and npm‬

‭Open a terminal in administrator mode.‬

‭Verify nvm.‬
‭:\Windows\System32>‬‭
C nvm version‬
‭1.1.11‬

‭Install Node.js and npm‬


‭:\Windows\System32>‬‭
C nvm install "latest"‬
‭20.5.1‬
‭Downloading node.js version 20.5.1 (64-bit)...‬
‭Extracting node and npm...‬
‭Complete‬
‭npm v9.8.0 installed successfully.‬
‭Installation complete. If you want to use this version, type‬‭nvm use 20.5.1‬

‭:\Windows\System32>‬‭
C nvm use 20.5.1‬
‭Now using node v20.5.1 (64-bit)‬

‭Check the installation‬


‭:\Windows\System32>‬
C node -v‬

‭v20.5.1‬
C:\Windows\System32>‬
‭ npm -v‬

‭9.8.0‬
‭Quake 3‬

‭Change to (‬‭
cd‬
‭) the directory where the extracted files are‬

‭Install node.js modules.‬


‭:\Python\Projects\quakejs>‬
D npm install‬

‭npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with‬
‭current and future versions of Node.js‬
‭npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported.‬
‭Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)‬
‭npm WARN deprecated [email protected]: wrench.js is deprecated! You should check out fs-extra‬
‭(https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks‬
‭for all the usage over the years.‬
‭npm WARN deprecated [email protected]: Please upgrade to latest, formidable@v2 or‬
‭formidable@v3! Check these notes: https://bit.ly/2ZEqIau‬‭npm WARN deprecated [email protected]:‬
‭Critical security bugs fixed in 2.5.5‬‭npm WARN deprecated [email protected]: connect 2.x series is‬
‭deprecated‬

‭added 66 packages, and audited 67 packages in 14s‬

‭12 vulnerabilities (2 moderate, 6 high, 4 critical)‬

‭ o address all issues (including breaking changes), run:‬


T
‭npm audit fix --force‬

‭ un `npm audit` for details.‬


R
‭npm notice‬
‭npm notice New patch version of npm available! 9.8.0 -> 9.8.1‬‭npm notice Changelog:‬
‭https://github.com/npm/cli/releases/tag/v9.8.1‬‭npm notice Run npm install -g [email protected] to‬
‭update!‬
‭npm notice‬

‭Set the content server.‬


D:\Python\Projects\quakejs>‬
‭ echo { "content": "content.quakejs.com" } >‬

‭in\web.json‬
b

‭Run the server‬


‭:\Python\Projects\quakejs>‬
D node bin\web.js --config‬

.\web.json‬

i‭nfo: loading config file from .\web.json..‬
‭(node:20392) Warning: Accessing non-existent property 'padLevels' of module exports inside circular‬
‭dependency‬
‭(Use `node --trace-warnings ...` to show where the warning was created)‬‭info: web server is‬
‭now listening on :::8080‬
‭(node:20392) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated‬
‭ pen‬‭http://127.0.0.1:8080/‬‭in a browser (confirmed working on Firefox and Chrome).‬
O
‭Ctrl‬‭+‬‭c‬‭to exit the server‬

You might also like