action-sync-node-meta icon indicating copy to clipboard operation
action-sync-node-meta copied to clipboard

Action throws a TypeError

Open exil0867 opened this issue 2 years ago • 2 comments

I am getting the following error:

Error: TypeError: e.request is not a function
      at W.requestGithubApi (/home/runner/work/_actions/jaid/action-sync-node-meta/v2.0.0/build/index.js:6:7918[39](https://github.com/EXILL-SUARL/batch-blur-images/runs/7915332768?check_suite_focus=true#step:3:42))
      at W.applyGithubUpdate (/home/runner/work/_actions/jaid/action-sync-node-meta/v2.0.0/build/index.js:6:793695)
      at /home/runner/work/_actions/jaid/action-sync-node-meta/v2.0.0/build/index.js:6:795432
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
  API endpoint: PUT /repos/:owner/:repo/topics
  API options: owner, repo, names
Error: jaid/action-sync-node-meta threw an Error
Error: Error: Syncing failed
    at /home/runner/work/_actions/jaid/action-sync-node-meta/v2.0.0/build/index.js:6:797172
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Link to the logs: https://github.com/EXILL-SUARL/batch-blur-images/runs/7915332768?check_suite_focus=true#step:3:17

exil0867 avatar Aug 19 '22 09:08 exil0867

I'm getting this as well

iloveitaly avatar Jul 30 '23 12:07 iloveitaly

Looks like this is the source of the issue: https://github.com/Jaid/action-sync-node-meta/blob/6eb235046d1bcfe3460260051044ca3bb455c5eb/src/lib/Property.js#L153

probably a dependency issue?

iloveitaly avatar Jul 30 '23 12:07 iloveitaly

I had the same issue. Downgraded to 1.4.0 and it works perfectly.

If you have the same issue and also have actions/setup-node in your workflow, you might try downgrading the node version (?)

kezzyhko avatar Sep 30 '24 21:09 kezzyhko