Skip to content

[Bug]: bridge.send is not a function #563

Open
@3eshelon

Description

@3eshelon

Описание

Добрый день.
работа ведется на node.js
Код ниже вызывает ошибку: bridge.send is not a function

import bridge from '@vkontakte/vk-bridge';

(async () => {
try {
const data = await bridge.send('VKWebAppInit');
console.log(data);
} catch (error) {
console.log(error);
}
})()

Версия vk-bridge

2.15.0

Платформа

Web

Браузер и версия

No response

Шаги воспроизведения

Все импортировано правильно. Нужно получить токен и далее загрузить видео по api из youtube в Vkvideo

Ожидаемое поведение

Ошибки не должно быть)

Скриншоты

No response

Приложение

No response

Код, который вызвал ошибку

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions