Skip to content

libhandler fails if no manifest was found #137

@brucemcpherson

Description

@brucemcpherson

2026-02-18 12:24:51 libs.forEach((lib) => {
2026-02-18 12:24:51 ^
2026-02-18 12:24:51 TypeError: Cannot read properties of undefined (reading 'forEach')
at recurseManifests (file:///usr/src/app/node_modules/@mcpher/gas-fakes/src/services/libhandlerapp/fakelibhandlerapp.js:31:12)
at Proxy.load (file:///usr/src/app/node_modules/@mcpher/gas-fakes/src/services/libhandlerapp/fakelibhandlerapp.js:41:5)
at file:///usr/src/app/example.js:11:17
at ModuleJob.run (node:internal/modules/esm/module_job:343:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:665:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)

Need to think about whether it should even be allowed to run wothout a manifest? IN any case, if libhandler is called, then the user intended for there to be a manifest so we need to trap this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions