Uncaught TypeError: Cannot read property 'length' of undefined
At C:\Users\[...]\AppData\Local\atom\app-1.23.3\resources\app\node_modules\text-buffer\lib\text-buffer.js:948
TypeError: Cannot read property 'length' of undefined
at exports.extentForText (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/text-buffer/lib/helpers.js:91:34)
at TextBuffer.module.exports.TextBuffer.setTextInRange (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/text-buffer/lib/text-buffer.js:678:48)
at ~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/text-buffer/lib/text-buffer.js:662:32
at TextBuffer.module.exports.TextBuffer.transact (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/text-buffer/lib/text-buffer.js:941:24)
at TextBuffer.module.exports.TextBuffer.setTextInRange (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/text-buffer/lib/text-buffer.js:660:27)
at TextBuffer.module.exports.TextBuffer.setText (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/text-buffer/lib/text-buffer.js:599:25)
at TextEditor.setText (~/AppData/Local/atom/app-1.23.3/resources/app/src/text-editor.js:1295:45)
at CargoView.module.exports.CargoView.attach (/packages/tokamak/lib/cargo-view.coffee:60:12)
at /packages/tokamak/lib/cargo-view.coffee:32:42)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.23.3/resources/app/src/command-registry.js:388:36)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.23.3/resources/app/src/command-registry.js:273:23)
at CreateProjectView.module.exports.CreateProjectView.confirmed (/packages/tokamak/lib/create-project-view.coffee:36:19)
at CreateProjectView.module.exports.SelectListView.confirmSelection (/packages/tokamak/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at /packages/tokamak/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
at HTMLOListElement.dispatch (/packages/tokamak/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLOListElement.elemData.handle (/packages/tokamak/node_modules/jquery/dist/jquery.js:4121:28)
[Enter steps to reproduce:]
Cargo.toml
. So I thought I forgot to create a new project.Atom: 1.23.3 x64 Electron: 1.6.15 OS: Windows 10 Thrown From: tokamak package 0.4.1
Stack Trace
Uncaught TypeError: Cannot read property 'length' of undefined
Commands
Non-Core Packages