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

removed module package.json field that referenced unexisting file #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexeychikk
Copy link

@alexeychikk alexeychikk commented Jan 20, 2024

Vite is crashing when trying to resolve module field in package.json that points to unexisting ./build/index.mjs file

in @colyseus/monitor

Vite is crashing when trying to resolve module field in package.json that points to unexisting ./build/index.mjs file
@endel
Copy link
Member

endel commented Jan 21, 2024

Hi @alexeychikk, thank you for the report - are you building your backend with Vite? Could you provide a repo where I can reproduce the issue?

Not sure the issue a missing file, as the index.mjs is present on the final built module:

Screenshot 2024-01-20 at 22 04 00

Thank you

@alexeychikk
Copy link
Author

alexeychikk commented Jan 21, 2024

@endel
image

P.S Yes, I tried to build my backend with vite and vite-plugin-node, but gave up due to infinite number of issues.

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

Successfully merging this pull request may close these issues.

None yet

2 participants