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

Cannot load modules #6022

Closed
shotikot opened this issue Jun 1, 2020 · 5 comments
Closed

Cannot load modules #6022

shotikot opened this issue Jun 1, 2020 · 5 comments
Assignees
Labels
bug Something isn't working correctly cli related to cli/ dir

Comments

@shotikot
Copy link

shotikot commented Jun 1, 2020

Every time i try to load modules like bcrypt, mongo and etc. code crashes and shows me this error.

error: The system cannot find the path specified. (os error 3).

import { Application, Router } from "https://deno.land/x/oak/mod.ts";
import { init, mongoClient } from "https://deno.land/x/mongo/mod.ts";

here first line is executed correctly, but the second line throws an error.

@Pangoraw
Copy link

Pangoraw commented Jun 1, 2020

Maybe related to #5982 if you are importing ts from a js file. Try downgrading to 1.0.2 if you are on 1.0.3 to see if it fixes it.

@shotikot
Copy link
Author

shotikot commented Jun 1, 2020

So i can't use typescript modules with javascript?

@bartlomieju
Copy link
Member

@shotikot this is a regression in 1.0.3 which will be fixed by #6000

@lucacasonato
Copy link
Member

This should be fixed in 1.0.4

@shotikot
Copy link
Author

shotikot commented Jun 5, 2020

I updated to 1.0.5 but still get the same error. It works well on 1.0.2

@bartlomieju bartlomieju added bug Something isn't working correctly cli related to cli/ dir labels Jun 7, 2020
@bartlomieju bartlomieju self-assigned this Jun 7, 2020
@shotikot shotikot closed this as completed Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly cli related to cli/ dir
Projects
None yet
Development

No branches or pull requests

4 participants