Skip to content

Error when updating modules on Foundry 13 #167

@AndreiB97

Description

@AndreiB97

Environment Details

  • Foundry Core Version: 13.344
  • System & Version: N/A
  • OS & Browser: Windows 11 & Firefox
  • Hosting: Self Hosted
    (Forge, Self Hosted, Electron App, etc might be relevant)

Describe the bug
Getting the following error when trying to update modules:

The "path" argument must be of type string. Received undefined

Relevant Foundry logs:

FoundryVTT | 2025-06-01 13:30:11 | [warn] Module validation errors:
  id: may not be undefined
Error: Module validation errors:
  id: may not be undefined
    at DataModelValidationFailure.asError (file:///home/andrei/Foundry13/resources/app/common/data/validation-failure.mjs:79:12)
    at Module.validate (file:///home/andrei/Foundry13/resources/app/common/abstract/data.mjs:306:34)
    at new DataModel (file:///home/andrei/Foundry13/resources/app/common/abstract/data.mjs:57:10)
    at new BasePackage (file:///home/andrei/Foundry13/resources/app/common/packages/base-package.mjs:227:5)
    at new ServerPackageMixin (file:///home/andrei/Foundry13/resources/app/dist/packages/package.mjs:1:1686)
    at new Module (file:///home/andrei/Foundry13/resources/app/dist/packages/module.mjs:1:268)
    at Module.fromRemoteManifest (file:///home/andrei/Foundry13/resources/app/dist/packages/package.mjs:1:6891)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Module.check (file:///home/andrei/Foundry13/resources/app/dist/packages/package.mjs:1:9347)
    at async Module.checkPackage (file:///home/andrei/Foundry13/resources/app/dist/packages/views.mjs:1:1123)
    at async SetupView.handlePost (file:///home/andrei/Foundry13/resources/app/dist/server/views/setup.mjs:1:2047)
FoundryVTT | 2025-06-01 13:30:11 | [warn] The "path" argument must be of type string. Received undefined

I believe Foundry 13 changed some validation behind the scenes and it's failing when trying to read the remote manifest.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Modules tab, in the Foundry Setup screen
  2. Click on Update All
  3. See error

Expected behavior
Update doesn't fail for GM Screen

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions