Uncaught TypeError when Selecting a Device in Desktop IDE

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

  1. Open IDE
  2. Click Particle, SelectDevice . . . , Click on My Device (It is listed)
  3. 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)

Commands

Non-Core Packages


1 Like

Having the same issue on OSX 10.14.1

[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)


### Commands

 -4:11.4.0 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai.theme-one-dark-ui)
 -4:11.4.0 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai.theme-one-dark-ui)
 -4:11 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai.theme-one-dark-ui)
 -4:11 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai.theme-one-dark-ui)
 -4:11 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai.theme-one-dark-ui)
 -4:11 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai.theme-one-dark-ui)

2x -3:28.3.0 particle-dev:select-device (input.hidden-input)
5x -2:12.3.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)


### Non-Core Packages



1 Like

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.

1 Like

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.

Same problem for me… i cant see the newer boards in the list, and get the same error when selecting my argon…

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.

Thanks!

I’m not from Particle, but I have been told first hand by Particle that Desktop IDE (aka Particle Dev) will not support mesh devices.

2 Likes

Thank you for the info! :smiley:

Is there an ETA on the updated “Workbench” (I think thats what they are calling it), will be ready and support the Mesh devices?

The cloud is WAY to unstable and has WAY too many issues (although minor, when actually trying to develop, they become very bothersome).

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.