Hi all! Trying to use Particle Dev so that I can use FastLED 3.1.4 on my Photon instead of waiting around for it to be updated at the Web IDE. Whenever I try to verify my code with the cloud (not compile, just verify!), I get this error.
[Enter steps to reproduce below:]
(Not sure what steps I should put here? I just pasted my code from the Web IDE and pressed verify)
- …
- …
Atom Version: 1.0.19
System: Microsoft Windows 10 Pro
Thrown From: spark-dev package, v0.0.31
Stack Trace
Uncaught TypeError: Cannot read property ‘replace’ of undefined
At C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\views\compile-errors-view.js:57
TypeError: Cannot read property 'replace' of undefined
at CompileErrorsView.module.exports.CompileErrorsView.fixInoFile (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\views\compile-errors-view.js:57:22)
at Object.content (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\views\compile-errors-view.js:87:21)
at Builder.tag (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\atom-space-pen-views\node_modules\space-pen\lib\space-pen.js:281:19)
at Function.View.(anonymous function) (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\atom-space-pen-views\node_modules\space-pen\lib\space-pen.js:83:49)
at Function.<anonymous> (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\views\compile-errors-view.js:78:21)
at Function.View.buildHtml (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\atom-space-pen-views\node_modules\space-pen\lib\space-pen.js:123:10)
at Function.View.render (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\atom-space-pen-views\node_modules\space-pen\lib\space-pen.js:129:19)
at exports.$$ (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\atom-space-pen-views\node_modules\space-pen\lib\space-pen.js:627:24)
at CompileErrorsView.module.exports.CompileErrorsView.viewForItem (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\views\compile-errors-view.js:77:14)
at CompileErrorsView.module.exports.SelectListView.populateList (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:206:29)
at CompileErrorsView.module.exports.SelectListView.setItems (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:167:12)
at CompileErrorsView.module.exports.CompileErrorsView.show (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\views\compile-errors-view.js:67:14)
at CompileErrorsView.show (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\views\compile-errors-view.js:3:61)
at Object.module.exports.showCompileErrors (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\spark-dev.js:817:37)
at atom-workspace.disposables.add.atom.commands.add.spark-dev:show-compile-errors (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\spark-dev.js:117:26)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\src\command-registry.js:245:29)
at CommandRegistry.handleCommandEvent (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\src\command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\src\command-registry.js:145:19)
at C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\spark-dev.js:737:29
at Object.module.exports.projectRequired (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\spark-dev.js:382:14)
at C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\spark-dev.js:676:24
at Object.module.exports.loginRequired (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\spark-dev.js:364:14)
at Object.module.exports.compileCloud (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\spark-dev.js:674:19)
at atom-workspace.disposables.add.atom.commands.add.spark-dev:compile-cloud (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\spark-dev\lib\spark-dev.js:132:26)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\src\command-registry.js:245:29)
at CommandRegistry.handleCommandEvent (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\src\command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\src\command-registry.js:145:19)
at space-pen-button.<anonymous> (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\tool-bar\lib\tool-bar-button-view.js:42:36)
at space-pen-button.jQuery.event.dispatch (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
at space-pen-button.elemData.handle (C:\Users\Jarrod\AppData\Local\particle\app-1.0.19\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)
Commands
-2:25.7.0 spark-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-2:25.7.0 spark-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-2:25.7.0 spark-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-2:25.7.0 spark-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-2:25.7.0 spark-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-2:25.7.0 spark-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-2:20.8.0 spark-dev:compile-cloud (atom-text-editor.editor)
-2:20.6.0 spark-dev:update-compile-status (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-2:20.6.0 spark-dev:show-compile-errors (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-1:22.4.0 find-and-replace:show (atom-text-editor.editor.is-focused)
4x -1:21.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:20.4.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-1:20.4.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-0:05.6.0 spark-dev:compile-cloud (atom-text-editor.editor)
-0:05.5.0 spark-dev:update-compile-status (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
-0:05.5.0 spark-dev:show-compile-errors (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)
Config
{
"core": {
"themes": [
"atom-dark-ui",
"one-dark-syntax"
]
}
}
Installed Packages
# User
No installed packages
# Dev
No dev packages