At fs.js:922
Error: EACCES: permission denied, mkdir 'assets/'
at Error (native)
at Object.fs.mkdirSync (fs.js:922:18)
at Object.paste (/packages/markdown-img-paste/lib/markdown-img-paste.coffee:49:16)
at /packages/markdown-img-paste/lib/markdown-img-paste.coffee:13:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:1)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:1)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:166:1)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1286:1)
at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:334:1)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)
[Enter steps to reproduce:]
Atom: 1.17.0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.4 Thrown From: markdown-img-paste package 0.3.8
Stack Trace
Uncaught Error: EACCES: permission denied, mkdir 'assets/'
Commands
Non-Core Packages