github-label-sync icon indicating copy to clipboard operation
github-label-sync copied to clipboard

got is not a function

Open creatorfromhell opened this issue 8 months ago • 1 comments

When attempting to run this after installation, I receive the following error message:

C:\Users\danie\AppData\Roaming\npm\node_modules\github-label-sync\bin\github-label-sync.js:69
                        files.push(got(file, options)
                                   ^

TypeError: got is not a function
    at C:\Users\danie\AppData\Roaming\npm\node_modules\github-label-sync\bin\github-label-sync.js:69:15
    at Array.forEach (<anonymous>)
    at readLabels (C:\Users\danie\AppData\Roaming\npm\node_modules\github-label-sync\bin\github-label-sync.js:59:17)
    at resolveOptions (C:\Users\danie\AppData\Roaming\npm\node_modules\github-label-sync\bin\github-label-sync.js:155:9)
    at Object.<anonymous> (C:\Users\danie\AppData\Roaming\npm\node_modules\github-label-sync\bin\github-label-sync.js:170:1)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at Object..js (node:internal/modules/cjs/loader:1706:10)
    at Module.load (node:internal/modules/cjs/loader:1289:32)
    at Function._load (node:internal/modules/cjs/loader:1108:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
    at node:internal/main/run_main_module:36:49

creatorfromhell avatar Apr 03 '25 18:04 creatorfromhell

I can reproduce the same error.

liblaf avatar May 08 '25 12:05 liblaf