ameerthehacker/deno-vscode

Still showing import error

OmgImAlexis opened this issue · 8 comments

I'm still getting this error after installing it, running deno init and then waiting for it to restart vs code. Any ideas?

An import path cannot end with a '.ts' extension. Consider importing 'https://gist.githubusercontent.com/DanielRamosAcosta/ad514503b1c7cf8290dadb96a5fddee9/raw/4733e267f05d20110ba962c4418bab5e98abfe93/factorial' instead.ts(2691)

Hey! Thanks for the question someone will answer you soon.

Hey @OmgImAlexis do you have node and (npm or yarn) installed on your system

Yes both and I’m on a MacBook Pro with the latest OS X and VS Code.

@OmgImAlexis Was the node modules installed properly and did you see any error messages?

Yes and no errors.

@OmgImAlexis I think it is more related to vscode not being able to detect the plugins I believe. Can you please zip your sample project and mail it to ameerjhanprof@gmail.com so that I can take a deep look.

@OmgImAlexis Are you using VSCode's version of TypeScript or your workspace's? I had the same issue disappear when I switched to the latter.

@OmgImAlexis closing this issue due to no activity, if you are still facing problems please feel free to reopen it