Question: I just bought a deno.js course from udemy. The installation was done perfectly but when running a script through deno. It shows an error 'cannot resolve module //filepath'. But when tweaking the path it works perfectly. Here is the code and terminal code below:-

```

//JAVASCRIPT

function a(){
    console.log(1243);
}
a();

```

```

//TERMINAL

PS C:\Users\Intex> deno run deno.js                  
error: Cannot resolve module "file:///C:/Users/Intex/deno.js"         //ERROR

PS C:\Users\Intex> deno run C:\Users\Intex\Desktop\deno.js            //SUCCESSFUL
1243

```

Answer: 
I just had the same issue, I believe it's to do with the name of the file. I changed it deno\_demo.js and it worked fine without having to specify the absolute path.
> 
> PS C:\Users\Intex> deno run deno.js  
> 
> error: Cannot resolve module "file:///C:/Users/Intex/deno.js" //ERROR
> 
> 
> PS C:\Users\Intex> deno run C:\Users\Intex\Desktop\deno.js //SUCCESSFUL
> 1243
> 
> 
> 

It looks like `deno.js` is in `C:\Users\Intex\Desktop` and not the current working directory of `C:\Users\Intex`.

To run the file at `C:\Users\Intex\Desktop\deno.js` from `C:\Users\Intex` using a relative path, you will also need to include the sub directory it's located in:

```sh
deno run ./Desktop/deno.js

```