Comments (3)
Hello Dalan!
I think these are actually two different problems. First problem is the blank screen, the second problem is the spamming of errors in the terminal. These two things are not realated though.
First, pull the latest changes (I made some small changes in 1.2.99). Then run "npm install" (this will install a newer electron version)
Problem 1
It looks like you simply have forgotten to build the project. The project doesn't find the necessary built files (app.bundle.js and default.css) which is why these are red in the network tab. To build simply run:
grunt
If this doesn't work that means you don't have grunt installed globally. In that case first run:
npm install --global grunt grunt-cli
After you have built the app you can run it normally ("npm start" in one terminal and then "npm run electron:dev" in another)
Problem 2
After a bit of digging I just found out how you may stop the flooding of error messages of "Could not instantiate: ProductRegistryImpl.Registry....".
As I suspected it has something to do with chrome web tools within the electron application. But it doesn't seem to be a blocker. I managed to reproduce it but I could still run the game and everything. It's just kind of annoying.
These errors seem to have to do with the "network" tab in web tools. If you open the game and it starts of in "network" tab, the errors come. So instead switch to for instance "console" tab, then close the game, and start it again. It should now remain in console tab and the error messages should not come.
This is obviously an annoying problem, but like I said, it doesn't seem to block anything in the game, and it is up to electron to fix this on their side.
Resources:
electron/electron#14687
electron/electron#12185
from totalrisk.
Please let me know if it worked out for you :)
from totalrisk.
A coworker and I were trying all yesterday and this morning. We could not get npm start to show anything other than a white page.
I installed Ubuntu 19.04, install grunt globally, npm install npm start. Boom everything works. For the last few hours the office has been playing.
Sorry for the run around on my bad server.
One thing, your dice algorithm favors the AI it's brutal, I want to go to Vegas and have the AI roll craps for me.
Thank you.
from totalrisk.
Related Issues (2)
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 totalrisk.