netwjx / paste-image-2 Goto Github PK
View Code? Open in Web Editor NEWPaste image to markdown, to html, to xxx
License: MIT License
Paste image to markdown, to html, to xxx
License: MIT License
Just tried to install this package from an almost vanilla Atom installation and got this error:
Atom Version: 1.6.0
System: Mac OS X 10.11.3
Thrown From: paste-image-2 package, v0.3.0
Failed to load the paste-image-2 package
At Cannot find module 'dateformat'
Error: Cannot find module 'dateformat'
at Module._resolveFilename (module.js:336:15)
at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:365:17)
at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Object.<anonymous> (/Users/tarek/.atom/packages/paste-image-2/lib/paste-image-2.coffee:2:14)
at Object.<anonymous> (/Users/tarek/.atom/packages/paste-image-2/lib/paste-image-2.coffee:1:1)
at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:720:27)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:116:28
at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:106:12)
at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:445:14)
at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:524:30)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:444:29
at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
-3:14.4.0 application:new-file (atom-pane.pane.active)
-3:11 editor:newline (atom-text-editor.editor.is-focused)
-3:09.6.0 settings-view:open (atom-text-editor.editor.is-focused)
-3:05.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:52 core:paste (atom-text-editor.editor.is-focused)
-1:48.6.0 core:copy (atom-text-editor.editor.is-focused)
-1:48.1.0 core:paste (atom-text-editor.editor.is-focused)
3x -1:47 editor:newline (atom-text-editor.editor.is-focused)
3x -1:43.1.0 core:paste (atom-text-editor.editor.is-focused)
-1:08.5.0 editor:delete-to-beginning-of-line (atom-text-editor.editor.is-focused)
-1:07.8.0 settings-view:open (atom-text-editor.editor.is-focused)
2x -0:24.9.0 core:paste (atom-text-editor.editor.is-focused)
{
"core": {
"packagesWithKeymapsDisabled": [
"img-paste"
]
}
}
# User
paste-image-2, v0.3.0
# Dev
No dev packages
If installed, atom crashes (and cannot be started again). The fix is to run (from commandline) while atom isn't running: apm uninstall paste-image-2
here is my stacktrace
Module version mismatch. Expected 46, got 47.
Hide Stack Trace
Error: Module version mismatch. Expected 46, got 47.
at Error (native)
at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:137:20)
at Object.module.(anonymous function) as .node
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
at Object. (/home/noizbuster/.atom/packages/paste-image-2/node_modules/pathwatcher/lib/main.js:6:13)
at Object. (/home/noizbuster/.atom/packages/paste-image-2/node_modules/pathwatcher/lib/main.js:207:4)
at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
at Object.defineProperty.value as .js
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
at Object. (/home/noizbuster/.atom/packages/paste-image-2/node_modules/text-buffer/lib/text-buffer.js:11:10)
at Object. (/home/noizbuster/.atom/packages/paste-image-2/node_modules/text-buffer/lib/text-buffer.js:1426:4)
at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
at Object.defineProperty.value as .js
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
at Object. (/home/noizbuster/.atom/packages/paste-image-2/lib/paste-image-2.coffee:3:11)
at Object. (/home/noizbuster/.atom/packages/paste-image-2/lib/paste-image-2.coffee:1:1)
at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
at Object.defineProperty.value as .coffee
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
Please delete this plugin,dosen't work anymore....
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.