Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Need to recompile error #1

Closed
rzulian opened this issue Jun 12, 2018 · 6 comments
Closed

Need to recompile error #1

rzulian opened this issue Jun 12, 2018 · 6 comments

Comments

@rzulian
Copy link
Contributor

rzulian commented Jun 12, 2018

I'm trying to test the viewer, but I'm getting this error

Module build failed (from /Users/rzu/Workspace/gaia-viewer/node_modules/ts-loader/index.js):
Error: Typescript emitted no output for /Users/abc/Workspace/gaia-viewer/node_modules/@gaia-project/engine/src/factions.ts.
You should not need to recompile .ts files in node_modules.
Please contact the package author to advise them to use --declaration --outDir.
More microsoft/TypeScript#12358
at successLoader (/Users/abc/Workspace/gaia-viewer/node_modules/ts-loader/dist/index.js:39:15)
at Object.loader (/Users/abc/Workspace/gaia-viewer/node_modules/ts-loader/dist/index.js:21:12)

@coyotte508 Can you help me on this?
Thanks
R

@rzulian
Copy link
Contributor Author

rzulian commented Jun 12, 2018

solved linking local Gaia-engine.
thanks

@rzulian rzulian closed this as completed Jun 12, 2018
@coyotte508
Copy link
Member

Good. Not that this is very far from being complete at the moment!

@rzulian
Copy link
Contributor Author

rzulian commented Jun 12, 2018 via email

@coyotte508
Copy link
Member

Right now there's the engine and the viewer. The engine can be ported to anywhere as it's pure javascript (not the server part), for example it could be in an android app, a web page, or a server.

The plan in the future is to make a website using both the engine in backend, and the viewer as frontend. The website would have the seed & list of moves for each game in db, as well as player info. That's how multiple games are handled.

Of course the engine can be reused by other people for plenty of other things, like building an AI and so on.

Right now all that's available on the engine is board generation & faction choice. Like this:

init 5 seed
p1 faction terrans
p2 faction geodens
...

The next thing to do is to place buildings on the map, and do it with a click. We'll see how it goes.

@rzulian
Copy link
Contributor Author

rzulian commented Jun 13, 2018

I can help on the build command on the engine side, if you need help.
Where are you planning to store which building is in each space in the map?
Which is the best way to debug this architecture? Do you have suggestions or can you point me to tutorials?

@coyotte508
Copy link
Member

I created a gitter room here: https://gitter.im/gaia-engine , so we can chat

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants