Error with julia-client after Atom update


After an updating Atom to version 1.25.0 I receive the following error every time I open Atom.

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

julia-client 0.6.10 is the package causing the problem. Uninstalling all the Julia packages, and Atom and reinstalling everything did not correct the problem. Does anyone else have this problem? Any suggestions? I am using the Windows 64 bit version of Atom.


I met the same problem yesterday. In my windows 7 X64 computer, the atom shows the same message and allows me to recompile the julia-client package. After that, it works fine.


When I rebuild, this is the error:

prebuild-install info begin Prebuild-install version 2.5.1
prebuild-install info looking for local prebuild @ prebuilds\node-pty-prebuilt-v0.7.3-electron-v54-win32-x64.tar.gz
prebuild-install info looking for cached prebuild @ C:\Users\Chris.atom.apm_prebuilds\
prebuild-install http request GET
prebuild-install http 200
prebuild-install info downloading to @ C:\Users\Chris.atom.apm_prebuilds\
prebuild-install info renaming to @ C:\Users\Chris.atom.apm_prebuilds\
prebuild-install info unpacking @ C:\Users\Chris.atom.apm_prebuilds\
prebuild-install WARN install EBUSY: resource busy or locked, open ‘C:\Users\Chris.atom\packages\julia-client\node_modules\node-pty-prebuilt\build\Release\pty.node’
gyp ERR! clean error
gyp ERR! stack Error: EPERM: operation not permitted, unlink ‘C:\Users\Chris.atom\packages\julia-client\node_modules\node-pty-prebuilt\build\Release\pty.node’
gyp ERR! stack at Error (native)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command “C:\Users\Chris\AppData\Local\atom\app-1.25.0\resources\app\apm\bin\node.exe” “C:\Users\Chris\AppData\Local\atom\app-1.25.0\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js” “rebuild”
gyp ERR! cwd C:\Users\Chris.atom\packages\julia-client\node_modules\node-pty-prebuilt
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm ERR! Windows_NT 10.0.16299
npm ERR! argv “C:\Users\Chris\AppData\Local\atom\app-1.25.0\resources\app\apm\bin\node.exe” “C:\Users\Chris\AppData\Local\atom\app-1.25.0\resources\app\apm\node_modules\npm\bin\npm-cli.js” “–globalconfig” “C:\Users\Chris\.atom\.apm\.apmrc” “–userconfig” “C:\Users\Chris\.atom\.apmrc” “rebuild” “–runtime=electron” “–target=1.7.11” “–arch=x64”
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! node-pty-prebuilt@0.7.3 install: prebuild-install || node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pty-prebuilt@0.7.3 install script ‘prebuild-install || node scripts/install.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-pty-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild-install || node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-pty-prebuilt
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls node-pty-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Chris.atom\packages\julia-client\npm-debug.log


Can you try closing Atom, navigating to C:\Users\Chris.atom\packages\julia-client, opening a terminal there and typing in apm install? That should hopefully work around that issue.


That fixed it. Thank you.