Skip to content

Cannot find module after building for node-webkit #328

Closed
@csugden

Description

@csugden

After installing for node-webkit –

npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.10.1

– node-webkit crashes with the error:

Cannot find module '[...]source/node_modules/sqlite3/lib/binding/node-webkit-v14-darwin-v64/node_sqlite3.node

The available folder in binding is called node-webkit-v0.10.1-darwin-x64. Renaming this to the expected name in the error allows the app to run.

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