Skip to content

Napi runtime flag causing include path error for node-addon-api #80

@sampsongao

Description

@sampsongao

After I export NODE_OPTIONS=--napi-modules and invoke npm install on module including node-addon-api module. npm always complain with this error message.

gyp: Call to 'node -p "require('node-addon-api').include"' returned exit status 0
while in binding.gyp. while trying to load binding.gyp

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