anvaka / anvaka/nanlayout

NPM install issue on OSX

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi,

This sounds like a great project ! I just tried installing using the NPM approach and got some errors:

CXX(target) Release/obj.target/nangraph/../nangraph.cc/src/graph.o
LIBTOOL-STATIC Release/nangraph.a
CXX(target) Release/obj.target/nangraph/src/index.o
CXX(target) Release/obj.target/nangraph/src/NanGraph.o
../src/NanGraph.cc:111:35: error: no member named 'Get' in
'Nan::Persistent >'
auto data = _nodeData[nodeId].Get(isolate);
~~~~~~~~~~~~~~~~~ ^
../src/NanGraph.cc:156:41: error: no member named 'Get' in
'Nan::Persistent >'
auto data = self->_linkData[linkId].Get(info.GetIsolate());
~~~~~~~~~~~~~~~~~~~~~~~ ^
2 errors generated.

I'll try the manual compile route also.

Thanks

Ian

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the NPM installation on OSX and inspect src/NanGraph.cc at lines 111 and 156 alongside the reported compiler output. Done means the native package installs successfully without the Nan::Persistent Get errors; the payload names no test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript, node.js
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.