This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Exception when opening nRF Programmer (Cannot read property 'autoRead' of undefined)

I installed nRF Connect and inside it I installed Programmer. When opening the programmer I get the following exception:

Cannot read property 'autoRead' of undefined
TypeError: Cannot read property 'autoRead' of undefined
    at C:\Users\karol\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer\dist\bundle.js:6:245932
    at file:///C:/Users/karol/AppData/Local/Programs/nrfconnect/resources/app.asar/dist/app-bundle.js:11:10272
    at C:\Users\karol\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer\dist\bundle.js:6:239837
    at os (file:///C:/Users/karol/AppData/Local/Programs/nrfconnect/resources/app.asar/dist/app-bundle.js:41:83208)
    at vu (file:///C:/Users/karol/AppData/Local/Programs/nrfconnect/resources/app.asar/dist/app-bundle.js:41:102287)
    at t.unstable_runWithPriority (file:///C:/Users/karol/AppData/Local/Programs/nrfconnect/resources/app.asar/dist/app-bundle.js:49:3844)
    at zo (file:///C:/Users/karol/AppData/Local/Programs/nrfconnect/resources/app.asar/dist/app-bundle.js:41:45023)
    at mu (file:///C:/Users/karol/AppData/Local/Programs/nrfconnect/resources/app.asar/dist/app-bundle.js:41:102046)
    at Zs (file:///C:/Users/karol/AppData/Local/Programs/nrfconnect/resources/app.asar/dist/app-bundle.js:41:93595)
    at file:///C:/Users/karol/AppData/Local/Programs/nrfconnect/resources/app.asar/dist/app-bundle.js:41:45314

And system report:

# nRFConnect System Report - 2022-02-02T14-28-04.797Z

- System:     Dell Inc. Latitude 5501
- BIOS:       Dell Inc. DELL   - 1072009
- CPU:        1 x Intel® Core™ i7-9850H 2.6 GHz 12 cores (6 physical)
- Memory:     5.2 GB free of 15.8 GB total
- Filesystem: C: (NTFS) 475.2 GB 83.7% used

- OS:         Microsoft Windows 11 Pro (10.0.22000) Windows ia32

- Versions
    - kernel: 10.0.22000
    - git: 2.33.0.windows.1
    - node: 14.16.0
    - python: 3.9.10
    - python3: 3.9.10



- Connected devices:

I already tried following troubleshooting:

  • Uninstall Programmer and install again
  • Uninstall nRF Connect, remove <user>/.nrfconnect-apps, install Connect 3.10.0 and Programmer 2.3.0 again
  • Reboot PC
  • Press Restore default settings or Restart application
  • I have the same problem on this system:

    $ uname -a
    Linux ozan-dell 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
    $ sudo lshw -short
    [sudo] password for ozan: 
    H/W path       Device      Class          Description
    =====================================================
                               system         Inspiron 5567 (0767)
    /0                         bus            05VRRG
    /0/0                       memory         64KiB BIOS
    /0/3a                      memory         16GiB System Memory
    /0/3a/0                    memory         DIMM [empty]
    /0/3a/1                    memory         16GiB SODIMM DDR4 Synchronous 2400 MHz (0.4 ns)
    /0/3e                      memory         128KiB L1 cache
    /0/3f                      memory         512KiB L2 cache
    /0/40                      memory         4MiB L3 cache
    /0/41                      processor      Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
    

  • I just updated and Programmer v2.3.0 is indeed completely broken (getting the same errors).

    Is there a way to revert to a working version?

  • I'm also having this problem on Ubuntu, is there a fix?

  • Hi,

    We received a few reports with the same issue. The programmer v2.3.1 released just now with the fix. Kindly try updating to the latest version and do let me know. 

    Best Regards,

    Swathy

Related