particle-iot-archived / particle-dev-local-compiler

Package providing local compilation for Particle devices in Particle Dev
MIT License
11 stars 0 forks source link

Uncaught TypeError: Cannot read property 'pull' of null #2

Closed robertdolca closed 8 years ago

robertdolca commented 8 years ago
TypeError: Cannot read property 'pull' of null
  at Object.module.exports.ParticleDevLocalCompiler.updateFirmwareVersions (/Users/robert/.particledev/packages/particle-dev-local-compiler/lib/main.coffee:214:17)
  at atom-workspace.<anonymous> (/Users/robert/.particledev/packages/particle-dev-local-compiler/lib/main.coffee:158:47)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Particle Dev.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
  at /Applications/Particle Dev.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Particle Dev.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Particle Dev.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (/Applications/Particle Dev.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Particle Dev.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
  at /Applications/Particle Dev.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Particle Dev.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Particle Dev.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Particle Dev.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)
robertdolca commented 8 years ago

@suda did I miss to configure something?

suda commented 8 years ago

@robertdolca have you entered Docker settings from step 8: https://github.com/spark/particle-dev-local-compiler#install-and-setup-this-package ?

robertdolca commented 8 years ago

Yes. I configured a different docker-machine name in settings. Besides that I didn't set anything. Shodn't it detect those settings using docker-machine env?

suda commented 8 years ago

In the future yes, but for now you have to fill all info manually.

robertdolca commented 8 years ago

It works after seting that. It would be nice to report a nice error or something. Thanks

suda commented 8 years ago

I'm on it :)

suda commented 8 years ago

Fixed in v0.0.3 :)