Html
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>1</title>
</head>
<body>
<script> var exports = {}; </script>
<script src="index.js"></script>
</body>
</html>
index.ts
import {VKAPI} from 'vkontakte-api';
const api = new VKAPI({accessToken: '#'});
api.users.get({user_ids: ['#']}).then(console.log);
JS
"use strict";
exports.__esModule = true;
var vkontakte_api_1 = require("vkontakte-api");
var api = new vkontakte_api_1.VKAPI({ accessToken: '#' });
api.users.get({ user_ids: ['#'] }).then(console.log);
Использовал команду для TS - tsc index.ts
Сама ошибка