• 注册
  • 离线疑难解答 离线疑难解答 关注:1507 内容:16762
    悬赏2金币

    大佬们,Linux系统下部署好了SPT-3.9.8,但是安装fika-2.2.8联机mod以后,启动SPT服务报错,应该咋搞?

  • 查看作者
  • 打赏作者
  • 当前位置: ODDBA社区 > 离线疑难解答 > 正文
  • 4
  • 离线疑难解答
  • 初来乍到

    大佬们,Linux系统下部署好了SPT-3.9.8,但是安装fika-2.2.8联机mod以后,启动SPT服务报错,应该咋搞?

    大佬们,Linux系统下部署好了SPT-3.9.8,但是安装fika-2.2.8联机mod以后,启动SPT服务报错,应该咋搞?   大佬们,Linux系统下部署好了SPT-3.9.8,但是安装fika-2.2.8联机mod以后,启动SPT服务报错,应该咋搞?

    ┌─────────────────────────────────────────┐

    │ SPT 3.9.8                               │

    │ https://discord.sp-tarkov.com           │

    │                                         │

    │ This work is free of charge             │

    │ If you paid money, you were scammed     │

    │ Commercial use is prohibited            │

    └─────────────────────────────────────────┘

    ModLoader: loading: 1 server mods…

    Mod: server version: 2.2.8 by: Fika loaded

    The application had a critical error and failed to run

    Exception produced: Error


    Stacktrace:

    Error: Cannot find module '/snapshot/workspace/node_modules/tsyringe'

    Require stack:

    – /home/L/spt-server-ci/spt-server/user/mods/fika-server/src/di/Container.js

    – /home/L/spt-server-ci/spt-server/user/mods/fika-server/src/mod.js

    – /snapshot/workspace/medusa/spt-server/code/project/obj/loaders/PreSptModLoader.js

    – /snapshot/workspace/medusa/spt-server/code/project/obj/controllers/GameController.js

    – /snapshot/workspace/medusa/spt-server/code/project/obj/callbacks/GameCallbacks.js

    – /snapshot/workspace/medusa/spt-server/code/project/obj/di/Container.js

    – /snapshot/workspace/medusa/spt-server/code/project/obj/Program.js

    – /snapshot/workspace/medusa/spt-server/code/project/obj/ide/ReleaseEntry.js

    1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.

        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)

        at Function._resolveFilename (pkg/prelude/bootstrap.js:1955:46)

        at Function.Module._load (node:internal/modules/cjs/loader:985:27)

        at Module.require (node:internal/modules/cjs/loader:1235:19)

        at Module.require (pkg/prelude/bootstrap.js:1851:31)

        at require (node:internal/modules/helpers:176:18)

        at Object.<anonymous> (/home/L/spt-server-ci/spt-server/user/mods/fika-server/src/di/Container.ts:1:1)

        at Module._compile (node:internal/modules/cjs/loader:1376:14)

        at Module._compile (pkg/prelude/bootstrap.js:1894:32)

        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10)

    Press Enter to close the window

  • SPT-3.9.8

  • 已配图

  • 服务端报错

  • 初来乍到
    联机不启动服务器,用你要进的服务器启动。
  • Worship你的意思是,要开两个服务端?可我和朋友的存档都在linux上
    拉黑 4小时前 手机端回复
  • 为叁而狂@Worship 只开一个服务端,就是你和你朋友一起进的那个。
    拉黑 2小时前 手机端回复
  • 回复
    初窥堂奥
    3.9.8版本用mod的话要改一下mod内容,当时编译的时候没注意文件夹位置
    Please try to replace all instances of the string "/snapshot/project" in the mod folder with "/snapshot/workspace/medusa/spt-server/code/project".
    回复

    请登录之后再进行评论

    登录
    离线疑难解答
  • 今日 5
  • 内容 16762
  • 关注 1507
  • 聊天
    关注 0

    【招募】GRIFFIN TKF项目开工 期待你的加入 || 你是否想加入格里芬书写自己与人形的故事

  • 签到
  • 任务
  • 发布
  • 模式切换
  • 偏好设置
  • 帖子间隔 侧栏位置: