hughsk / atom-npm-install

Automatically install and save any missing npm modules being used in the current file
http://atom.io/packages/npm-install
MIT License
80 stars 7 forks source link

Object.dirname is deprecated. #21

Open aquinoti opened 6 years ago

aquinoti commented 6 years ago

Argument to path.dirname must be a string

Object.dirname (C:\Users\W10\AppData\Local\atom\app-1.21.1\resources\app.asar\src\electron-shims.js:9:10)
HTMLElement.<anonymous> (C:\Users\W10\.atom\packages\npm-install\index.js:71:27)
CommandRegistry.handleCommandEvent (<embedded>:22275:36)
CommandRegistry.dispatch (<embedded>:22160:23)
AtomEnvironment.dispatchApplicationMenuCommand (<embedded>:1586:34)
EventEmitter.outerCallback (<embedded>:2038:31)
lov2code commented 3 years ago

Argument to path.dirname must be a string this issue came up in atom. It is still functioning but could cause a bigger problem in the future.