You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i'm installing otpauth using Yarn 4
I use Webpack 4 as bundler but i have the following error during compilation:
[3] ERROR in ./node_modules/otpauth/dist/otpauth.esm.js 970:28
[3] Module parse failed: Unexpected token (970:28)
[3] You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
[3] | const randomBytes = size => {
[3] | {
[3] > if (!globalScope.crypto?.getRandomValues) {
[3] | throw new Error("Cryptography API not available");
[3] | }
[3] @ ./js/app.js 40:0-35 153:17-29
[3] @ ./js/main.js
The text was updated successfully, but these errors were encountered:
Hello, i'm installing otpauth using
Yarn 4
I use
Webpack 4
as bundler but i have the following error during compilation:The text was updated successfully, but these errors were encountered: