oak-graphql icon indicating copy to clipboard operation
oak-graphql copied to clipboard

error on deno cache reload

Open shendkardevesh opened this issue 5 years ago • 6 comments

error: Import 'https://cdn.pika.dev/-/[email protected]/jsutils/Path.d.ts' failed: 401 Unauthorized

and even i run deno, i get this error

error: error sending request for url (https://cdn.pika.dev/-/[email protected]/dist=es2019,mode=types/concatAST.d.ts): http2 error: protocol error: refused stream before processing any application logic

any idea what excatly is going on here.

shendkardevesh avatar Jul 02 '20 17:07 shendkardevesh

dump up 0.5.2

can you reload the module?

aaronwlee avatar Jul 02 '20 17:07 aaronwlee

no enable to reload module have tried with deno run --reload https://deno.land/x/oak_graphql/mod.ts and also with, deno run --reload https://deno.land/x/[email protected]/mod.ts but for both i got same error, error: Import 'https://cdn.pika.dev/-/[email protected]/jsutils/Path.d.ts' failed: 401 Unauthorized

shendkardevesh avatar Jul 02 '20 19:07 shendkardevesh

I've tested it in windows, mac, and ubuntu. I've never got these issues... This possibly your local machine issue, let's try to find the deno caching folder and delete all the files in https then retry this. let me know after it. Also, if anyone has the same issues. please leave a comment here.

aaronwlee avatar Jul 02 '20 20:07 aaronwlee

tried deleting the cache folder, but still getting this error error: Import 'https://cdn.pika.dev/-/[email protected]/jsutils/Path.d.ts' failed: 401 Unauthorized

and when try to reload with command - deno run --reload https://deno.land/x/oak_graphql/mod.ts got error - error: Import 'https://cdn.pika.dev/-/[email protected]/dist=es2019,mode=types/execution.d.ts' failed: 502 Bad Gateway

shendkardevesh avatar Jul 03 '20 05:07 shendkardevesh

hi any update for this issue.

shendkardevesh avatar Jul 05 '20 08:07 shendkardevesh

Hi @shendkardevesh, I can't get rid of the pika CDN due to the other ported projects had some problems that ensure the execution of all major functions. Sorry that I can't help you.

As far as I tested, executions of various OS and systems were not having issues.

The only thing that we can do is waiting for the fully supported GraphQL library for Deno.

If you provide more information and the reasons why that's not working on your computer, I can help to find a solution.

aaronwlee avatar Jul 05 '20 09:07 aaronwlee