pnpm / pnpm/action-setup

Build script fails with "Cannot augment module '_' with value exports because it resolves to a non-module entity."

Open
#100 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
217
Avg merge
8h 42m
Merged PRs (30d)
1

Description

It's possible there's something wrong with my build environment, but I've tried building with several different versions of node (16, 17, 18) and pnpm (6, 7, 8) and I get the same build failures no matter what I do.

Click to display `pnpm run build` log
╭─      ~/repos/kinland/pnpm-action-setup  on    master *1 !2 ······················ ✔  at 07:57:00 PM   ─╮
╰─ pnpm run build                                                                                                    ─╯

> @ build /home/kinland/repos/kinland/pnpm-action-setup
> pnpm run build:schemas && tsc && pnpm run build:ncc && cp src/install-pnpm/pnpm.js dist/pnpm.js


> @ build:schemas /home/kinland/repos/kinland/pnpm-action-setup
> ts-schema-autogen generate

/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2,16): Cannot augment module '_' with value exports because it resolves to a non-module entity.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (417,24): Cannot find name 'Dictionary'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (417,40): Cannot find name 'NumericDictionary'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (417,91): Cannot find name 'PropertyPath'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (421,76): Cannot find name 'Many'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (427,28): Cannot find name 'Many'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (433,22): Cannot find name 'PropertyPath'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (439,28): Cannot find name 'Many'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (445,22): Cannot find name 'PropertyPath'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (581,29): Cannot find name 'Dictionary'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (581,45): Cannot find name 'NumericDictionary'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (615,31): Cannot find name 'Dictionary'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (615,47): Cannot find name 'NumericDictionary'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (810,62): Cannot find name 'ObjectIteratee'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (816,29): Cannot find name 'ObjectIteratee'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (822,29): Cannot find name 'ObjectIteratee'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (822,54): Cannot find name 'StringNullableChain'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (832,66): Cannot find name 'ObjectIteratee'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (838,33): Cannot find name 'ObjectIteratee'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (844,33): Cannot find name 'ObjectIteratee'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (844,58): Cannot find name 'StringNullableChain'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (856,40): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (860,59): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (866,26): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (872,26): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (882,45): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (886,64): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (892,31): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (898,31): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (910,41): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (914,60): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (920,27): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (926,27): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (936,46): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (940,65): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (946,32): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (952,32): Cannot find name 'ObjectIterator'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1025,21): Type expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1025,24): 'number' only refers to a type, but is being used as a value here.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1026,24): ':' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1026,32): Cannot find name 'keyof'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1026,38): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1026,38): Cannot find name 'T'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1027,19): 'number' only refers to a type, but is being used as a value here.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1027,26): ':' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1027,34): Cannot find name 'T'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1028,23): 'number' only refers to a type, but is being used as a value here.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1028,30): ':' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1028,38): Cannot find name 'keyof'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1028,44): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1028,44): Cannot find name 'T'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1029,27): Cannot find name 'T'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1029,29): 'number' only refers to a type, but is being used as a value here.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1031,21): Declaration or statement expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,41): Type expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,44): Cannot find name 'infer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,50): '}' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,50): Cannot find name 'Left'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,55): Declaration or statement expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,56): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,57): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,58): Cannot find name 'infer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,64): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1043,64): Cannot find name 'Right'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,29): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,29): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,30): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,31): Cannot find name 'infer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,37): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,37): Cannot find name 'FieldKey'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,46): This expression is not callable.
  Type 'any[]' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,47): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,48): ',' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,49): No value exists in scope for the shorthand property 'infer'. Either declare one or provide an initializer.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,55): ',' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1046,55): No value exists in scope for the shorthand property 'IndexKey'. Either declare one or provide an initializer.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,26): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,26): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,27): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,28): Cannot find name 'infer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,34): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,34): Cannot find name 'FieldKey'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,43): This expression is not callable.
  Type 'any[]' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,44): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,45): ',' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,46): No value exists in scope for the shorthand property 'infer'. Either declare one or provide an initializer.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,52): ',' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1053,52): No value exists in scope for the shorthand property 'IndexKey'. Either declare one or provide an initializer.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1307,23): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1307,23): Cannot find name 'path'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1307,54): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1307,54): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1312,30): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1312,30): This expression is not callable.
  Type 'Boolean' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1312,40): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1312,40): Cannot find name 'path'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1312,60): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1312,60): This expression is not callable.
  Type 'Boolean' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1346,23): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1346,23): Cannot find name 'path'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1346,67): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1346,67): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1351,30): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1351,30): This expression is not callable.
  Type 'Boolean' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1351,40): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1351,40): Cannot find name 'path'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1351,60): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1351,60): This expression is not callable.
  Type 'Boolean' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1751,16): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1751,16): This expression is not callable.
  Type 'undefined' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1756,43): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1756,43): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1761,30): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1761,30): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1842,33): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1842,35): Property 'merge' does not exist on type 'LoDashStatic'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1842,66): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1842,66): Cannot find name 'customizer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1844,28): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1844,28): Cannot find name 'customizer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1844,49): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1844,49): This expression is not callable.
  Type 'undefined' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1845,33): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1845,33): Cannot find name 'customizer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1852,30): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1852,30): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1938,29): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1938,31): Property 'pick' does not exist on type 'LoDashStatic'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1939,56): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (1939,56): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2000,29): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2000,31): Property 'pickBy' does not exist on type 'LoDashStatic'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2001,56): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2001,56): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2001,70): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2001,70): Cannot find name 'predicate'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2051,54): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2051,54): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2093,47): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2093,47): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2093,67): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2093,67): Cannot find name 'predicate'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2443,33): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2443,35): Property 'update' does not exist on type 'LoDashStatic'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2443,67): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2443,67): Cannot find name 'customizer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2444,47): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2444,47): Cannot find name 'path'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2444,59): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2444,59): Cannot find name 'customizer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2444,80): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2444,80): This expression is not callable.
  Type 'undefined' has no call signatures.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2445,65): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2445,65): Cannot find name 'customizer'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2448,43): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2448,43): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2456,30): ';' expected.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2456,30): Cannot find name 'object'.
/home/kinland/node_modules/.pnpm/@types+lodash@4.14.196/node_modules/@types/lodash/common/object.d.ts (2581,1): Unterminated template literal.
[FAILURE] Failed to generate JSON schemas
GeneratorConstructingFailure
    Failed to build schema generator
    input:
        /home/kinland/repos/kinland/pnpm-action-setup/src/inputs/run-install.ts
    settings:
        undefined
 ELIFECYCLE  Command failed with exit code 11.
 ELIFECYCLE  Command failed with exit code 1.

I tried replacing the src/install-pnpm/pnpm.js file with a newer one, but that didn't seem to make a difference.

Finally, I tried adding "@types/lodash": "4.14.192", to the package-json and build works again. Seems like the types that were released 5 months ago in 4.14.193 breaks pnpm/action-setup build somehow.

I'll open a PR for this momentarily.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with pnpm run build, which runs build:schemas before tsc; inspect the reported @types/lodash/common/object.d.ts errors and the installed package versions. Done means the build completes successfully across the relevant Node and pnpm versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, nodejs, typescript
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.