lucasmazza / copy-as-rtf

A package to export highlighted code as RTF
Other
19 stars 14 forks source link

Nothing copied #21

Closed brookr closed 8 years ago

brookr commented 8 years ago

Just installed the package in Atom, and can't get it to work. Running the command does nothing. A warning appears in the inspector when I execute the key command: http://hijk.it/image/1X2M1D1p1n0P/Screen%20Shot%202015-11-05%20at%201.18.10%20PM.png

I ran apm rebuild in the package directory, but I'm still getting the same message.

Anything I can do to get it working?

brookr commented 8 years ago

Might be related to an error building the copy-paste npm module: http://hijk.it/image/1s3u3i2V2o15/Screen%20Shot%202015-11-05%20at%201.30.00%20PM.png

This issue might be related: https://github.com/xavi-/node-copy-paste/pull/35

ivanoats commented 8 years ago

I can reproduce this error.

steak3 commented 8 years ago

I got the same message but it disapeared when I relaunched Atom or after a refresh (ctrl+alt+r). ... [EDIT] I just checked both libraries (clipboard.js and copy-paste) and finally I think it's better to keep copy-paste library and wait for the fix you mentionned. But we need to set a stable version for copy-paste dependency in package.json to avoid regression, instead of "dependencies": { "copy-paste": "*" } ... Are you on Windows system?

steak3 commented 8 years ago

It seems it has been fixed 6 days ago in the copy--paste repo (in the issue mentionned by brookr: xavi-/node-copy-paste#35)