For all settings, configure the variables in a .env folder, similar to the .env.example
make dev-server
make dev-ui
make build-server
make build-ui
make build
make push-server
make push-ui
make push
For all settings, configure the variables in a .env folder, similar to the .env.example
make dev-server
make dev-ui
make build-server
make build-ui
make build
make push-server
make push-ui
make push
log:
Environment:
DEV_MODE=false
NODE_ENV=production
DEBUG_PORT=5858
Launching via npm...
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle [email protected]~prestart: [email protected]
npm info lifecycle [email protected]~start: [email protected]
> [email protected] start /opt/app-root/src
> node server.js
{"level":30,"time":1591719702665,"pid":30,"hostname":"admin-server-1-l6h4b","name":"datagrid","msg":"Connected to Infinispan game data"}
{"level":50,"time":1591719703495,"pid":30,"hostname":"admin-server-1-l6h4b","name":"datagrid/read-bot-config","msg":"Bot configuration missing"}
{"level":30,"time":1591719704034,"pid":30,"hostname":"admin-server-1-l6h4b","name":"datagrid","msg":"Connected to Infinispan player data"}
{"level":30,"time":1591719704582,"pid":30,"hostname":"admin-server-1-l6h4b","name":"game-messaging","msg":"Subscribing to mc/game"}
{"level":30,"time":1591719704620,"pid":30,"hostname":"admin-server-1-l6h4b","name":"leaderboard-messaging","msg":"Subscribing to mc/leaderboard"}
{"level":50,"time":1591719707245,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719712399,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719717658,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719722846,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719728029,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719733158,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719738315,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719743474,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719748689,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719753916,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719759028,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719764174,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719769368,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719774524,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719779807,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719784946,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719790154,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
/opt/app-root/src/server.js:40
broadcast(JSON.stringify(gameStats));
^
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Socket'
| property 'parser' -> object with constructor 'HTTPParser'
--- property 'socket' closes the circle
at JSON.stringify (<anonymous>)
at Timeout._onTimeout (/opt/app-root/src/server.js:40:18)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
npm info lifecycle [email protected]~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 94776ms
npm ERR! A complete log of this run can be found in:
npm ERR! /opt/app-root/src/.npm/_logs/2020-06-09T16_23_15_445Z-debug.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.