Problems constructing octokit/rest after upgrade to v17 #1740
-
Hello, I've upgraded Octokit from 16.42.2 to 17.9.2. A first smelly change I did was ignoring this typecheck, but at least, I think it is according to the guidelines:
Later, I call The script fails with the exception: "TypeError: OctoKit is not a constructor". Any ideas what I do wrong here, and what could bring me onwards? Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Nevermind - I didn't know what I was doing. OctoKit -> Octokit in require statement was my problem. |
Beta Was this translation helpful? Give feedback.
Nevermind - I didn't know what I was doing. OctoKit -> Octokit in require statement was my problem.