Skip to content

Cloudflare Workers #116

@alexmarmon

Description

@alexmarmon

After installing method-node I get the following error when running my cloudflare worker:

app:dev | ✘ [ERROR] Build failed with 1 error:

app:dev |   ✘ [ERROR] Could not resolve "../../package.json"
app:dev |
app:dev |       ../../node_modules/.pnpm/method-node@2.0.0/node_modules/method-node/dist/index.ts.js:113:40:
app:dev |         113 │ ...nv.NODE_ENV === "TEST" ? "../../package.json" : "../package.json"
app:dev |

I've patched the issue with pnpm on my end but would love an official fix when ya'll have time. Let me know if you need a repro app or anything. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions