-
Deno v1.0.0 is planned to be released tomorrow: I have experimentend with early versions of Deno and run into lots of trouble. I'll give it another try, with the hope to make as many Octokit libraries compatible with Deno as possible, as fast as possible. I'll keep you all posted in this thread |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 30 replies
-
Currently fighting with problems when importing |
Beta Was this translation helpful? Give feedback.
-
Now experiencing an import problem with
import { request } from '/-/@octokit/[email protected]/dist=es2017/request.js'; I don't get why |
Beta Was this translation helpful? Give feedback.
-
Looks like it just works when using cdn.skypack.dev instead of cdn.pika.dev 🎉 // index.ts
import { Octokit } from "https://cdn.skypack.dev/@octokit/rest";
console.log(`Octokit.VERSION: ${Octokit.VERSION}`);
const octokit = new Octokit({
auth: "[personall access token here]",
});
octokit.users.getAuthenticated().then(console.log, console.error); Then run
|
Beta Was this translation helpful? Give feedback.
-
@gr2m your example doesn't seem to work anymore. It seems that the types were missing or not correct when I try it right now. This is what get as output from the cmd-line Would love to use that awesome lib also on deno side so maybe you can help out. |
Beta Was this translation helpful? Give feedback.
-
More news from Deno 🦕 : https://deno.com/blog/changes Let's see how it works with |
Beta Was this translation helpful? Give feedback.
Looks like it just works when using cdn.skypack.dev instead of cdn.pika.dev 🎉
Then run