lucasmazza / copy-as-rtf

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

Native modules that were compiled for an earlier version of Atom #15

Closed ajclarke90 closed 9 years ago

ajclarke90 commented 9 years ago

Bug popping up on my atom now:

Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.Rebuild Packages

I tried rebuilding from within atom:

sh: node: command not found

npm ERR! Darwin 15.0.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/ajclarke/.atom/.apm/.apmrc" "--userconfig" "/Users/ajclarke/.atom/.apmrc" "rebuild" "--target=0.30.6" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! execSync@1.0.2 install: `node install.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the execSync@1.0.2 install script 'node install.js'.
npm ERR! This is most likely a problem with the execSync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls execSync
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/ajclarke/.atom/packages/copy-as-rtf/npm-debug.log

You can find a copy of the npm-debug.log at: http://www.star.uclan.ac.uk/~ajclarke/files/npm-debug.log

ajclarke90 commented 9 years ago

Whoopsy. This was a bug on Atom's side, I thought I was up-to-date but apparently I was not!