Comments (2)
Changing the package.json
's contents to:
{
"name": "among-us-proxy",
"version": "1.2.0",
"description": "Proxy of the local network protocol for the Among Us game",
"main": "src/index.js",
"author": "Nicolas Cisco",
"license": "MIT",
"repository": "https://github.com/nickcis/among-us-proxy",
"scripts": {
"test": "jest",
"format": "prettier --write 'src/**/*.js'",
"make": "npm run package && zip -j dist/among-us-proxy-`node -e 'console.log(require(\"./package.json\").version)'`.zip dist/among-us-proxy.exe",
"package": "nexe src/main.js -t windows-12.9.1 -o dist/among-us-proxy.exe"
},
"files": [
"src/*",
"README.md"
],
"dependencies": {
"jest": "^26.4.2",
"node-fetch": "^2.6.0",
"simple-peerjs": "^1.0.1",
"wrtc": "^0.4.6",
"ws": "^7.3.1",
"yargs": "^15.4.1"
},
"devDependencies": {
"nexe": "^3.3.7"
},
"optionalDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": "^5.0.2"
}
}
enables it to build and work (removing extra unnecessary dep and making nexe
hit main.js instead of index)
Note that the exe has to be moved next to the node_modules folder, and it's not necessary to package a node_modules that condains the dev dependencies (environment variable NODE_ENV=production)
Also note this has to be built on windows, otherwise you'll hit issues similar to #11 (comment)
from among-us-proxy.
Sorry, I forgot to check this repo. Can you send a PR with this fix?
Update:
You are getting that error because you have not followed the instructions on the readme:
Development
The project uses npm and lerna.
Install dependencies:
$ npm install $ npm run bootstrap
Code formatting:
$ npm run format
Packaging:
$ npm run lerna -- run make
You are getting the error of the missing among-us-proxy-dev-utils@^1.1.1
because you haven't bootstraped dependencies using lerna npm run bootstrap
. You shouldn't run npm install
inside the packages
folder.
from among-us-proxy.
Related Issues (15)
- Buen proyecto! HOT 3
- Among-Us topic HOT 1
- A javascript error occurred in the main process HOT 6
- I can not download it HOT 1
- Option to not use ngrok
- Non-gui release is missing HOT 5
- Hu
- Can't execute make script HOT 8
- Nice, got some questions HOT 26
- Trying to run this without the .exe HOT 11
- Mobile Proxying. HOT 9
- Bypass ngrok HOT 2
- Select ngrok location
- Can we use it on streaming? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from among-us-proxy.