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

Vite build warning: "Cannot call a namespace ('msgpackFactory')" when using kraftfahrstrasse #46

Open
sairus2k opened this issue Mar 28, 2023 · 0 comments

Comments

@sairus2k
Copy link

During the build process of my application that utilizes the kraftfahrstrasse library, I encountered a warning with the following message: "Cannot call a namespace ('msgpackFactory')". Although the build completes successfully and the app functions as expected, this warning still appears in the build output.

Steps to reproduce the issue:

  1. Create a new project using Vite and add the kraftfahrstrasse library as a dependency.
  2. Configure the application to use the kraftfahrstrasse library with the JSONSerializer instead of msgpack.
  3. Run npm install to install the required dependencies.
  4. Run npm run build to start the Vite build process.

Expected behavior

The build process should complete without any warnings related to the msgpackFactory.

Actual behavior

The build process completes successfully, but the following warning message appears in the build output:

Cannot call a namespace ("msgpackFactory")

Environment

Operating System: macOS 13.2.1
Node.js version: v16.17.0
Vite version: v4.0.4
kraftfahrstrasse version: v0.9.0

Additional context

I am not using msgpack in my application, as I have opted to use the JSONSerializer provided by the kraftfahrstrasse library. The warning appears to be related to the msgpackFactory, but it does not seem to affect the functionality of my application.

Please let me know if you need any further information or if there's a known workaround to suppress this warning. Thank you for your attention to this matter.

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

No branches or pull requests

1 participant