sahiljain112 / html-template-generator

A template generator built for Atom text editor
MIT License
3 stars 2 forks source link

Uncaught TypeError: Path must be a string. Received undefined #5

Closed ghost closed 7 years ago

ghost commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64 Electron: 1.3.13 OS: Microsoft Windows 8.1 Thrown From: html-template-generator package 0.3.0

Stack Trace

Uncaught TypeError: Path must be a string. Received undefined

At path.js:7

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.join (path.js:466:7)
    at HtmlTemplateGeneratorView.generateQuickTemplate (/packages/html-template-generator/lib/html-template-generator-view.js:145:27)
    at /packages/html-template-generator/lib/html-template-generator.js:24:74)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/app.asar/src/atom-environment.js:1162:28)
    at EventEmitter.outerCallback (/app.asar/src/application-delegate.js:312:25)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

  2x -5:17 core:move-down (div.panels)
     -4:36.3.0 core:confirm (input.hidden-input)
  5x -2:31.5.0 core:backspace (input.hidden-input)
     -2:28.7.0 core:confirm (input.hidden-input)
     -0:30.1.0 html-template-generator:generate (ul.list-inline.tab-bar.inset-panel)
  2x -0:18.1.0 html-template-generator:quick-generate (atom-workspace.workspace.scrollbars-visible-always.use-animations.theme-atom-material-syntax.theme-atom-material-ui)

Non-Core Packages

atom-material-syntax 1.0.2 
atom-material-ui 1.3.9 
autoclose-html 0.23.0 
html-template-generator 0.3.0