izuzak / atom-pdf-view

Support for viewing PDF files in Atom.
https://atom.io/packages/pdf-view
MIT License
108 stars 30 forks source link

Native Modules Not Compatible With Atom #55

Closed andrewrynhard closed 9 years ago

andrewrynhard commented 9 years ago

I got the following message with Atom 0.189:

The following packages could not be loaded because they contain native modules that aren't compatible with this version of Atom.

Previous Atom versions shipped with Chrome 31 and Node 0.11.10 but Atom now ships with Chrome 41.0.2272.76 and Node 1.5.1.

The packages listed should now ship versions of these native modules that are compatible with Node 1.5.1.

Updates for these packages may already be available that resolve this issue.

If no update is available you may want to notify the package author that their package isn't supported in Atom 0.189.0 because of the Chrome 41.0.2272.76 and Node 1.5.1 upgrade.

If you think a package is listed here and should no longer be, click the button below to reload Atom and recheck all packages.

Reload Atom And Recheck Packages
Pdf View 0.17.0Check for UpdateReport IssueDisable Package
Listed below are the incompatible native modules that this package depends on.

pathwatcher@4.1.0
Error message: Module version mismatch. Expected 43, got 41.
runas@2.0.0
Error message: Module version mismatch. Expected 43, got 41.
izuzak commented 9 years ago

@arynhard I'm having trouble reproducing that. May I ask how you're installing pdf-view (from settings view or do you have a local clone which you linked with apm link)?

If you installed with Settings View, can you try uninstalling and re-installing the package?

If you installed with a local clone + apm link, can you try running these commands in your local folder and let me know if it helps?

rm -r node_modules/
apm install .

This will re-install the dependencies

izuzak commented 9 years ago

Just published a new version which I hope fixes this. Let me know if it doesn't.

andrewrynhard commented 9 years ago

@izuzak : Sorry I am just getting around to responding. I have been quite busy with school. PDF-View is working perfectly now. Thank you!