Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in compile #31

Open
Penguinehis opened this issue Dec 1, 2021 · 2 comments
Open

Error in compile #31

Penguinehis opened this issue Dec 1, 2021 · 2 comments
Assignees
Labels
environment Questions related to environment installs

Comments

@Penguinehis
Copy link

Failed to compile.

./src/services/socket.ts
Module not found: Can't resolve '@uno-game/error-handler' in '/root/uno-game/packages/unoenty/src/services'

I tryed everything to fix

@guilhermebkel
Copy link
Owner

Hey @Penguinehis, can you show me which commands you ran for compiling the app? (The error you showed above seems to be something related to a missing package that the api needs. In the Dockerfile you are able to see how I make the production build).

@guilhermebkel guilhermebkel added the environment Questions related to environment installs label Dec 10, 2021
@pickmylight
Copy link

Got the same errors as @Penguinehis.

Local build didn't work at all, but the Docker Container Build worked like a charm. I suggest using an Alpine based Node image, its a size comparison between ~1.5GB to 300MB.

The API can be build like @guilhermebkel did it. The client side is a bit tricky. This can be locally build inside the /package/unoenty folder with npm build. But be aware, that you need to edit the .env file to your needs!

@guilhermebkel guilhermebkel self-assigned this Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
environment Questions related to environment installs
Projects
None yet
Development

No branches or pull requests

3 participants