Skip to content

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

@nene

Description

@nene

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions