← All tasks
javascriptbrianc/node-postgres #2249Not a task: not reproduced

Required dependencies as devDependencies in pg-cursor

envgap__brianc__node-postgres-2249

01 / FAILURE SIGNATURE

As reported upstream

Cannot find module 'pg/lib/result.js' from 'node_modules/.pnpm/pg-cursor@2.2.1/node_modules/pg-cursor/index.js'
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
25f658f227a1bcbe759423678a7ab4ba8e067994
Manifest
packages/pg-cursor/package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

brianc/node-postgres #2249 · read the original issue
I've got some problems using a package with `pnpm`



```

Cannot find module 'pg/lib/result.js' from 'node_modules/.pnpm/pg-cursor@2.2.1/node_modules/pg-cursor/index.js'



    Require stack:

      node_modules/.pnpm/pg-cursor@2.2.1/node_modules/pg-cursor/index.js

...

```



In **`pg-cursor`, should we move `pg` from `devDependencies` to `peerDependencies`?** PR welcome? I belive this can solve my issue.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]