LinusU / LinusU/node-alias

"npm install -g macos-alias" also fails

Open
#11 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
16
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Hi
I have an issue which is probably related to the space in my hard-drive (https://github.com/nodejs/node-gyp/issues/65).
The fix normally is to install globally:
npm install -g macos-alias

But this fails also..
The npm-debug.log shows that it nan@2.2.0 is installed but when it needs to install macos-alias
291 info lifecycle macos-alias@0.2.9~install: Failed to exec install script
and starts to rollback (rollbackFailedOptional)
But besides that not helpful.

But when I look at the output from my terminal:

→ npm install -g macos-alias

> macos-alias@0.2.9 install /usr/local/lib/node_modules/macos-alias
> node-gyp rebuild

make: *** No rule to make target `../../../../../../Volumes/Data', needed by `Makefile'.  Stop.

the last line seems odd, because I was trying to stop the install from looking for my "Data HD"

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing npm install -g macos-alias on the reported macOS setup and inspect the referenced npm-debug.log alongside the terminal output. Trace why node-gyp or make requests the /Volumes/Data path; done means the global installation no longer fails with the reported Makefile error.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.