Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 491 Bytes

File metadata and controls

25 lines (18 loc) · 491 Bytes

n-api

Prerequisites

  • g++/gcc (probably)
  • node.js

On macOS, possible problem:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Solution:

nodejs/node-gyp#569 (comment)

Quickstart

git clone git@github.com:mthpvg/n-api.git
cd n-api/return-string
npm install
npm start

When changing *.cc: npm run build-addon