Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work anymore #3

Closed
asyncanup opened this issue May 5, 2019 · 3 comments
Closed

Doesn't work anymore #3

asyncanup opened this issue May 5, 2019 · 3 comments

Comments

@asyncanup
Copy link

asyncanup commented May 5, 2019

Compiling file:///app/main.ts
Downloading https://deno.land/std/net/http.ts
thread 'tokio-runtime-worker-1' panicked at 'assertion failed: result.is_some()', ../../cli/compiler.rs:145:3
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Uncaught NotFound: Cannot resolve module "https://deno.land/std/net/http.ts" from "/app/main.ts"
    at DenoError (deno/js/errors.ts:22:5)
    at maybeError (deno/js/errors.ts:33:12)
    at maybeThrowError (deno/js/errors.ts:39:15)
    at sendSync (deno/js/dispatch.ts:82:5)
    at fetchModuleMetaData (deno/js/os.ts:75:19)
    at _resolveModule (deno/js/compiler.ts:249:38)
    at resolveModuleNames (deno/js/compiler.ts:479:35)
    at compilerHost.resolveModuleNames (deno/third_party/node_modules/typescript/lib/typescript.js:118650:138)
    at resolveModuleNamesWorker (deno/third_party/node_modules/typescript/lib/typescript.js:86767:127)
    at resolveModuleNamesReusingOldState (deno/third_party/node_modules/typescript/lib/typescript.js:87001:24)thread '
tokio-runtime-worker-0' panicked at 'called `Result::unwrap()` on an `Err` value: Canceled', src/libcore/result.rs:997:5
@bartlomieju
Copy link
Member

There were a lot of changes in Deno recently, @hayd can you update images to work with Deno v0.4.0?

@hayd
Copy link
Contributor

hayd commented May 8, 2019

@asyncanup 0.4 should be available now, which hopefully will fix?

@hayd
Copy link
Contributor

hayd commented May 8, 2019

I also updated the run entry points and tested the Dockerfile in /examples which seems to work now (after a couple of edits). Apologies for not keeping that up to date!

@asyncanup that is the issue above (although the error is a little gnarly), https://deno.land/std/net/http.ts is now/should be https://deno.land/std/http/server.ts.

@hayd hayd closed this as completed May 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants