sahiljain112 / html-template-generator

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

Uncaught TypeError: The "path" argument must be of type string. Received type undefined #10

Open Anomrace opened 4 years ago

Anomrace commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64 Electron: 5.0.13 OS: Mac OS X 10.15.5 Thrown From: html-template-generator package 0.3.0

Stack Trace

Uncaught TypeError: The "path" argument must be of type string. Received type undefined

At internal/validators.js:105

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:105:11)
    at Object.join (path.js:1037:7)
    at HtmlTemplateGeneratorView.generateQuickTemplate (/packages/html-template-generator/lib/html-template-generator-view.js:145:27)
    at HTMLElement.htmlTemplateGeneratorQuickGenerate (/packages/html-template-generator/lib/html-template-generator.js:24:74)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349786)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:348261)
    at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:725974)
    at EventEmitter.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:733897)
    at EventEmitter.emit (events.js:194:13)

Commands

     -0:23.3.0 kite:search-stack-overflow (input.hidden-input)
     -0:22.3.0 editor:newline (input.hidden-input)
  2x -0:20.6.0 core:backspace (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -0:07.2.0 html-template-generator:quick-generate (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-html-preview 0.2.6 
atom-material-ui 2.1.3 
autoclose-html 0.23.0 
color-picker 2.3.0 
emmet 2.4.3 
hey-pane 1.2.0 
html-template-generator 0.3.0 
html-to-css 0.2.2 
Hydrogen 2.14.3 
ide-css 0.3.4 
ide-html 0.6.0 
kite 0.185.0