Vue3 npm cannot set Sentry

Hello, I am new to sentry.
However I followed guide for this package in my vue3 /npm project.
I have made init in config.js file such as:
export const Sentry = require(’@sentry/node’);
Sentry.init({ dsn: ‘’ });

But instead I get an error ./node_modules/@sentry/node/dist/integrations/console.js
Module not found: Error: Can’t resolve ‘console’ in ‘D:\project\node_modules@sentry\node\dist\integrations’

Any help or a link to related topic will be much appreciated