Closed
Description
I set a http/https proxy on os:
baas@SZX1000428520:~/git/js/deno$ env | grep proxy
http_proxy=http://10.77.28.6:9090
https_proxy=http://10.77.28.6:9090
but deno cannot use them:
baas@SZX1000428520:~/git/js/deno$ deno hello.ts
Downloading http://unpkg.com/[email protected]/testing.ts
Error: Cannot resolve module "http://unpkg.com/[email protected]/testing.ts" from "/home/baas/git/js/deno/hello.ts".
os.codeFetch message: an error occurred trying to connect: Connection timed out (os error 110)
at throwResolutionError (deno/js/compiler.ts:99:9)
at DenoCompiler.resolveModule (deno/js/compiler.ts:362:16)
at DenoCompiler.resolveModuleName (deno/js/compiler.ts:396:33)
at moduleNames.map.name (deno/js/compiler.ts:552:33)
at Array.map (<anonymous>)
at DenoCompiler.resolveModuleNames (deno/js/compiler.ts:543:24)
at Object.compilerHost.resolveModuleNames (deno/third_party/node_modules/typescript/lib/typescript.js:111649:117)
at resolveModuleNamesWorker (deno/third_party/node_modules/typescript/lib/typescript.js:82561:106)
at resolveModuleNamesReusingOldState (deno/third_party/node_modules/typescript/lib/typescript.js:82768:24)
at processImportedModules (deno/third_party/node_modules/typescript/lib/typescript.js:84005:35)
Metadata
Metadata
Assignees
Labels
No labels