Found while landing #6559 (PR #6584): find-my-way@9 compiles natively (compilePackages) but throws TypeError: Cannot convert undefined or null to object at load — before any route is registered or any runtime-generated code runs.
Uncharacterized beyond the failure point: something during module init passes undefined/null into an Object.* operation (likely Object.keys/assign/setPrototypeOf over a value perry resolves differently at CJS init — needs a bisect into find-my-way's init graph: handler-storage maps, http-methods table, or its Object.create(null) trees).
Repro: the #[ignore]d e2e in crates/perry/tests/issue_6559_real_libs_e2e.rs (PERRY_REQUIRE_NPM_E2E=1 … -- --ignored).
Blocks: #6559 real-library acceptance (router leg), kimi-code target #6565 (fastify routing = find-my-way). Interpreter side already proven against find-my-way's captured matcher codegen incl. new NullObject() on a host class (PR #6584 fixtures).
Found while landing #6559 (PR #6584): find-my-way@9 compiles natively (compilePackages) but throws
TypeError: Cannot convert undefined or null to objectat load — before any route is registered or any runtime-generated code runs.Uncharacterized beyond the failure point: something during module init passes undefined/null into an Object.* operation (likely
Object.keys/assign/setPrototypeOfover a value perry resolves differently at CJS init — needs a bisect into find-my-way's init graph: handler-storage maps, http-methods table, or itsObject.create(null)trees).Repro: the
#[ignore]d e2e incrates/perry/tests/issue_6559_real_libs_e2e.rs(PERRY_REQUIRE_NPM_E2E=1 … -- --ignored).Blocks: #6559 real-library acceptance (router leg), kimi-code target #6565 (fastify routing = find-my-way). Interpreter side already proven against find-my-way's captured matcher codegen incl.
new NullObject()on a host class (PR #6584 fixtures).