Skip to content

Npm package 'qrcode' causes Uncaught RangeError: Maximum call stack size exceeded #1086

@CollinHerber

Description

@CollinHerber

I'm submitting a bug report

  • Library Version:
    1.0.0-beta.15

Please tell us about your environment:

  • Operating System:
    Windows 10

  • Node Version:
    v8.11.3

  • NPM Version:
    6.7.0

  • Browser:
    all

  • Language:
    ESNext

  • Loader/bundler:
    RequireJS

Current behavior:
Importing 'qrcode' npm package causes an "Exceeded Callstack" error. Prevent page load.
VM1366 vendor-bundle.js:55 Uncaught RangeError: Maximum call stack size exceeded

Repro Steps

  1. au new ESNext/RequireJS/SASS/Babel/Max Minification
  2. npm i qrcode
  3. import * as qrcode from 'qrcode' or import qrcode from 'qrcode' or import 'qrcode'
  • What is the expected behavior?
    Importing 'qrcode' npm package not to break.

PS
I wish I knew what was causing this, perhaps I'm doing something wrong on my end? I did an update from 0.33 to 1.0b15 as I've done with several of my projects and this one just happened to have that npm package in there causing that issue.
Full picture cause yth not http://prntscr.com/n9b0j6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions