I am getting an Uncaught TypeError in the Desktop IDE when I try to select a device. Currently, no device is selected. My Boron is pulsing blue and I can download to it from the Web IDE. I can ping it in the console and get a response.
I would be grateful for any help!! Steps to reproduce and error details follow.
Andrew
Steps to Reproduce
Open IDE
Click Particle, SelectDevice . . . , Click on My Device (It is listed)
Get the error
Atom: 1.19.0 x64 Electron: 1.6.9 OS: Microsoft Windows 10 Pro Thrown From: particle-dev-profiles package 0.2.3
Stack Trace
Uncaught TypeError: Cannot read property ānameā of undefined
At C:\ProgramData\Administrator\particledev\app-1.19.0\resources\app\node_modules\particle-dev-profiles\src\profiles-tile.js:60
TypeError: Cannot read property 'name' of undefined
at C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/particle-dev-profiles/src/profiles-tile.js:60:98
at Function.module.exports.Emitter.simpleDispatch (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/scrollbar-style/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/scrollbar-style/node_modules/event-kit/lib/emitter.js:125:28)
at ProfileManager.setLocal (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/particle-dev-profiles/src/profile-manager.js:134:17)
at ProfileManager.set (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/particle-dev-profiles/src/profile-manager.js:385:9)
at SelectCoreView.module.exports.SelectCoreView.confirmed (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/particle-dev/lib/views/select-core-view.js:75:56)
at SelectCoreView.module.exports.SelectListView.confirmSelection (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at HTMLLIElement.<anonymous> (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
at HTMLOListElement.dispatch (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLOListElement.elemData.handle (C:/ProgramData/Administrator/particledev/app-1.19.0/resources/app/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4121:28)
[Enter steps to reproduce:]
1. Open Newly Installed Particle Desktop IDE
2. Select a Mesh device from the "Select which device you want to work with" Menu in Atom
**Atom**: 1.19.0 x64
**Electron**: 1.6.9
**OS**: Mac OS X 10.14.1
**Thrown From**: Atom Core
### Stack Trace
Uncaught TypeError: Cannot read property 'name' of undefined
At /Applications/Particle Dev.app/Contents/Resources/app/node_modules/particle-dev-profiles/src/profiles-tile.js:60
TypeError: Cannot read property ānameā of undefined
at /Applications/Particle Dev.app/Contents/Resources/app/node_modules/particle-dev-profiles/src/profiles-tile.js:60:98
at Function.module.exports.Emitter.simpleDispatch (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/scrollbar-style/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/scrollbar-style/node_modules/event-kit/lib/emitter.js:125:28)
at ProfileManager.setLocal (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/particle-dev-profiles/src/profile-manager.js:134:17)
at ProfileManager.set (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/particle-dev-profiles/src/profile-manager.js:385:9)
at SelectCoreView.module.exports.SelectCoreView.confirmed (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/particle-dev/lib/views/select-core-view.js:75:56)
at SelectCoreView.module.exports.SelectListView.confirmSelection (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at HTMLLIElement. (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
at HTMLOListElement.dispatch (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLOListElement.elemData.handle (/Applications/Particle Dev.app/Contents/Resources/app/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4121:28)
I tried selecting my device in the Web IDE and was able to program the device. The problem that I am having is only in the Desktop IDE.
I think timmah1991 has a similar, but different problem. Timmah is unable to select the type of device being targeted. I am having trouble picking my particular Boron to be the target of firmware updates.
Iām also getting this error on macOS 10.12.6, Atom/Particle Dev version 1.19.0 x64. Iām able to select a Photon, but I get the error when selecting a Mesh device (Argon or Xenon). Mesh devices also do not appear in the Target Platform list.
I think that the Atom-based desktop IDE does not support the mesh devices. The new Microsoft-based IDE will eventually support the mesh products.
So for now, you have to use the Web IDE or the CLI.
It would be nice if this was documented somewhere on the mesh device web pages. . . It was painful for me to learn and I imagine plenty of other people have the same questions/issues.
Eeeesh, yes indeed; thatās definitely a bummer. Thank you so much for letting us know!
Can someone from Particle confirm whether the Atom-based Particle Dev app will support the mesh devices in the future? Thatās my IDE/workflow of choice, and will continue to be even after the Microsoft-based IDE is ready.
The Workbench is supporting mesh devices for a while already, but Desktop IDE (aka Particle Dev) is not Particel Workbench.
Workbench will replace Dev completely, hence there will be no further update for Dev anymore.
In what way?
Do you mainly mean OTA updates or anything else too?
If it's OTA, you can always download the binaries created by Web IDE and flash them via USB.