Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Can't install it on macos

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the README's macOS and Node.js installation instructions, then inspect the documented npm config command and the /opt/arrayfire path. Reproduce the reported npm error and verify whether the instructions or setup produce a working Node.js installation on macOS.

Written by the indexing model from the issue text.

Description

I installed ArrayFire on macos using the pkg. And it seems to work because the files are at /opt/arrayfire
Now my problem is "linking" it to nodejs.
When i run : npm config set cmake_af_path "/opt/arrayfire/lib"

I get an error:

npm ERR! `cmake_af_path` is not a valid npm option
npm ERR! A complete log of this run can be found in: /Users/x/.npm/_logs/2024-01-15T14_17_49_992Z-debug-0.log

Anyone know why i have this error ? i follow what the readme said

Dominant language
C++
Stars
118
Forks
11
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arrayfire/arrayfire-js

All issues in arrayfire/arrayfire-js

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.