We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.
In beta.36, qrcode works normally
<template> <div> <canvas ref="elRef"></canvas> </div> </template> <script lang="ts"> import { defineComponent, ref, nextTick } from 'vue'; import { toCanvas } from 'qrcode'; export default defineComponent({ name: 'App', setup() { const elRef = ref(null); nextTick(() => { toCanvas(elRef.value as any, '111'); }); return { elRef }; }, }); </script>
In beta.50,Console error
TypeError: Cannot read property 'concat' of undefined at ReedSolomonEncoder.encode (reed-solomon-encoder.js:38) at createCodewords (qrcode.js:340) at createData (qrcode.js:286) at createSymbol (qrcode.js:424) at Object.create (qrcode.js:498) at browser.js:53 at new Promise (<anonymous>) at renderCanvas (browser.js:51) at App.vue:16
Is this caused by pre-bundling?
vite
The text was updated successfully, but these errors were encountered:
a69fa1e
fix(optimizer): attempt resolve node builtin first before externalizing
74b55b8
fix #1746
No branches or pull requests
Describe the bug
In beta.36, qrcode works normally
In beta.50,Console error
Is this caused by pre-bundling?
Reproduction
System Info
vite
version: bete.50The text was updated successfully, but these errors were encountered: