Skip to content

QR code not generated when using "connecting your device"

Summary

  • QR code not generated when using "connecting your device"

Cause

  • bump of qrcode from 1.4.4 to 1.5.3: 5de0032d
  • grunt task "copy" tries to copy node_modules/qrcode/build/qrcode.js to build/static/3rd.party/qrcode/qrcode.js
  • in version 1.5.2 to 1.5.3 build directory is not included: https://github.com/soldair/node-qrcode/issues/333
  • Leads to the absence of the qrcode.js file at build/static/3rd.party/qrcode/qrcode.js.

Steps to Reproduce

  1. going to "connect my device"
  2. trying to create a QR code to connect an iOS device

Expected Behavior

  1. QR code is shown

Actual Behavior

  1. QR code is not shown and browser console shows a 404 for requested file appsuite/static/3rd.party/qrcode/qrcode.js

Additional Information

Edited by frank.paczynski