Skip to content

node-gyp builds to Release/scrypt.node #169

@ryanio

Description

@ryanio

Hey, thanks for the great library.

I'm running it on Mac OS X 10.13.2 with node v9.2.1 and I'm getting the error:

 Cannot find module './build/Release/scrypt' from 'index.js'

It looks like node-gyp is building to Release/scrypt.node:

...
SOLINK_MODULE(target) Release/scrypt.node
gyp info ok

But index.js looks for: require("./build/Release/scrypt")

Related to #162, but if I just rename to require("./build/Release/scrypt.node") I get the error:

Module parse failed: node_modules/scrypt/build/Release/scrypt.node Unexpected character '�' (1:0)
[1] You may need an appropriate loader to handle this file type.

Would love any tips or clues into what to try next.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions