visual studio code
Setupinstall the deno extension first, then add in settings.json the following configuration.
activate the enable option Deno unstable features in settings >> extensions >> Deno
if you get this error after installing a module.
run your project to cache all dependencies.
note: when installing a module using ( Trex install –map someModule ) or ( Trex –custom someModule=someModule.com/someModule.ts ) this is automatically cached
Atom
Setupfirst install typescript plugin. then install the typescript-deno-plugin
using npm
$ npm install --save-dev typescript-deno-plugin typescript
using yarn
$ yarn add -D typescript-deno-plugin typescript
Then add a plugins section to your tsconfig.json.
{
"compilerOptions": {
"plugins": [
{
"name": "typescript-deno-plugin",
"enable": true,
"importmap": "import_map.json"
}
]
}
}
note:
enable
by default istrue
Then restart Atom. after restart you should have no problems.
before installing
after installing