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

Module version conflicts occur. #60

Open
st-little opened this issue Mar 1, 2025 · 0 comments
Open

Module version conflicts occur. #60

st-little opened this issue Mar 1, 2025 · 0 comments

Comments

@st-little
Copy link

Module version conflicts occur in Dedicated Server.
Is there a solution to this problem?

manifest.json

    "dependencies": [
        {
            "module_name": "@minecraft/server",
            "version": "2.0.0-alpha"
        },
        {
            "module_name": "@minecraft/server-net",
            "version": "1.0.0-beta"
        }
    ]

permissions.json

  "allowed_modules": [
    "@minecraft/server-gametest",
    "@minecraft/server",
    "@minecraft/server-net",
    "@minecraft/server-ui",
    "@minecraft/server-admin",
    "@minecraft/server-editor"
  ]

Dedicated Server Log

[2025-03-01 05:38:14:430 ERROR] [Scripting] Plugin [My Plugin - 0.2.0] - failed to create context.

[2025-03-01 05:38:14:430 ERROR] [Scripting] Plugin [My Plugin] - version conflict for module [@minecraft/server].
[2.0.0-alpha] requested by [My Plugin - 0.2.0],
[1.0.0] requested by [@minecraft/server-admin - 1.0.0-beta]

[2025-03-01 05:38:14:430 ERROR] [Scripting] Plugin [My Plugin] - version conflict for module [@minecraft/server].
[2.0.0-alpha] requested by [My Plugin - 0.2.0],
[1.0.0] requested by [@minecraft/server-net - 1.0.0-beta]

[2025-03-01 05:38:14:430 ERROR] [Scripting] Plugin [My Plugin - 0.2.0] - run failed, no runtime or context available.
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