Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to load because of incompatible native module: sqlite3 #37

Open
nene opened this issue Jun 27, 2018 · 2 comments
Open

Fails to load because of incompatible native module: sqlite3 #37

nene opened this issue Jun 27, 2018 · 2 comments

Comments

@nene
Copy link
Contributor

nene commented Jun 27, 2018

Atom-import-js used to work just fine, until one fine day it suddenly stopped working. Perhaps related to recent OSX update.

Got the following error in console:

Failed to require the main module of 'atom-import-js' because it requires one or more incompatible native modules (sqlite3).
Run apm rebuild in the package directory and restart Atom to resolve.

Tried running apm rebuild in the package directory... the rebuild went just fine. Even tried to completely uninstall and reinstall atom-import-js, but still doesn't work.

The sqlite3 command is available in OSX console and works without issues. I see that sqlite3 is a dependency of import-js itself and it's nicely installed inside node_modules/... I guess it contains native part that's causing this incompatibility...

What else could I look into?

@alexgvozden
Copy link

I guess noone is maintaining this plugin any more, wondering how Atom plans to help out as it's strange it does not have support for imports

@trotzig
Copy link
Contributor

trotzig commented Sep 21, 2018

Apologies for not responding to this issue. This plugin is maintained (by me and others using the plugin).

This specific issue has been reported before, and people have suggested a few workarounds. See #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants