Comments (22)
@Unusualiscool
What did you do to get the websocket error?
After you built the package.json inside the server folder per @Addyvan instructions, you should run
npm install
via command prompt while in the server directory.
That should install what you need.
Then run
npm start
while in that directory. Leave that running.
In a new command prompt window, change directory over to the client folder and run:
npm install -g http-server
Then run
http-server
The window will tell you the url and port you can hit from your browser. For me it was,
http://127.0.0.1:8080/
from quick_3d_mmorpg.
This is amazing work, thank you so much for supplying these instructions!
from quick_3d_mmorpg.
I'm stuck on installing nvm, its saying wget is not a recognized command, any help?
@Unusualiscool
Are you on linux?
If you are on windows you can just make sure you are running the latest node version (15.*) and skip those steps altogether.
from quick_3d_mmorpg.
@Addyvan you're savior
from quick_3d_mmorpg.
from quick_3d_mmorpg.
I'm stuck on installing nvm, its saying wget is not a recognized command, any help?
from quick_3d_mmorpg.
now I'm stuck on installing the server, I type in "npm install
node index.mjs" it says this error:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/index.mjs - Not found
npm ERR! 404
npm ERR! 404 'index.mjs@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
any help? I'm doing this on a windows computer.
from quick_3d_mmorpg.
ok Its not detecting the package.json
from quick_3d_mmorpg.
I'm stuck on installing nvm, its saying wget is not a recognized command, any help?
@Unusualiscool
Are you on linux?If you are on windows you can just make sure you are running the latest node version (15.*) and skip those steps altogether.
now it's giving me this error, "websocket.js:87 WebSocket connection to 'ws://localhost:3000/socket.io/?EIO=4&transport=websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED"
I found this by doing inspect element when on a locally hosted server
from quick_3d_mmorpg.
@Unusualiscool
What did you do to get the websocket error?
After you built the package.json inside the server folder per @Addyvan instructions, you should run
npm install
via command prompt while in the server directory.
That should install what you need.
Then run
npm start
while in that directory. Leave that running.
In a new command prompt window, change directory over to the client folder and run:
npm install -g http-server
Then run
http-server
The window will tell you the url and port you can hit from your browser. For me it was,
http://127.0.0.1:8080/
@ITAndy23
I tried npm start and it's giving me a error, this is the error: ERR_UNSUPPORTED_ESM_URL_SCHEME
from quick_3d_mmorpg.
I'm stuck on installing nvm, its saying wget is not a recognized command, any help?
try curl instead? Or install wget.
from quick_3d_mmorpg.
@Kadajett I fixed that, I just need help on the npm start part, it's saying: "ERR_UNSUPPORTED_ESM_URL_SCHEME"
from quick_3d_mmorpg.
@Kadajett I fixed that, I just need help on the npm start part, it's saying: "ERR_UNSUPPORTED_ESM_URL_SCHEME"
I am dead tired, but I am going to submit a draft PR tonight solidifying the base of the application. If you could keep an eye out, some extra thought would be great. I didn't ask permission from simondev before starting the rewrite. Sorry 🙏
from quick_3d_mmorpg.
I have a PR up now. It's gonna take a bit to get it all working though. Anyone else familiar with TS, you are more than welcome to start tackling some of the errors as well.
😄
from quick_3d_mmorpg.
Thanks @Addyvan, your server/package.json
really helped.
I'm playing with docker-swarm at home, and I hosted the application
Feel free to play https://mmorpg-client.etto.cloudns.cl/
from quick_3d_mmorpg.
This is amazing work, thank you so much for supplying these instructions!
Yes...Amazing that we can find good documentation ,to support a projects..
Kudos and keep it up for the steps given..
from quick_3d_mmorpg.
Thanks @Addyvan, your
server/package.json
really helped.
I'm playing with docker-swarm at home, and I hosted the application
Feel free to play https://mmorpg-client.etto.cloudns.cl/
thnks.. Good find this link..
from quick_3d_mmorpg.
https://mmorpg-client.etto.cloudns.cl/ seems to be dead
from quick_3d_mmorpg.
https://mmorpg-client.etto.cloudns.cl/ seems to be dead
sorry @makc, it is back now
from quick_3d_mmorpg.
@ettoreleandrotognoli thanks for trying but there are now a bunch of loading errors:
from quick_3d_mmorpg.
I'm getting a similar error, but after accepting the exception it runs normally.
from quick_3d_mmorpg.
from quick_3d_mmorpg.
Related Issues (12)
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 quick_3d_mmorpg.