heroiclabs / nakama-project-template Goto Github PK
View Code? Open in Web Editor NEWAn example project on how to set up and write custom server code in Nakama server.
Home Page: https://github.com/heroiclabs/nakama
License: Apache License 2.0
An example project on how to set up and write custom server code in Nakama server.
Home Page: https://github.com/heroiclabs/nakama
License: Apache License 2.0
Until this is resolved the correct dependencies can be found here.
I am attempting to set up the project as instructed in this tutorial: https://heroiclabs.com/docs/nakama/tutorials/js/xoxo/
However, while running the command npx tsc
I am running into this error:
match_handler.ts:275:41 - error TS2339: Property 'binaryToString' does not exist on type 'Nakama'.
275 msg = JSON.parse(nk.binaryToString(message.data));
~~~~~~~~~~~~~~
Looking at the file match_handler.ts VS code shows that nkruntime.Nakama does not have the function binaryToString defined.
I'm not sure what I'm missing but would appreciate any help you can provide.
Most the modules are available in typescript, go and lua but there is no "match_handler.lua" file.
When trying to run
docker-compose up --build nakama
=> ERROR [builder 4/4] RUN go build --trimpath --mod=vendor --buildmode=plugin -o ./backend.so
[builder 4/4] RUN go build --trimpath --mod=vendor --buildmode=plugin -o ./backend.so:
#9 0.266 go: cannot find main module, but found .git/config in /backend
#9 0.266 to create a module there, run:
#9 0.266 go mod init
executor failed running [/bin/sh -c go build --trimpath --mod=vendor --buildmode=plugin -o ./backend.so]: exit code: 1
Hi
I wanna add "jsonwebtoken" in nakama project but when import modules "jwt" to script file don't run server error massage is "msg":"Failed initializing runtime modules"
I used "require('jsonwebtoken')" but i have error
how add modules to project typescript?
Thank you.
Is there any forcast to add sample unit testing and CI integration examples to this project?
If not are there any best practises or tutorials on how to implement this in the golang module?
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.