Skip to content

mthpvg/n-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]:mthpvg/n-api.git
cd n-api/return-string
npm install
npm start

When changing *.cc: npm run build-addon