LinusU / LinusU/node-alias

"npm install -g macos-alias" also fails

未关闭
#11 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
16
派生
23
PR 合并指标
30 天内没有已合并 PR

描述

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"

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在所报告的 macOS 设置上复现 npm install -g macos-alias,并结合终端输出检查所引用的 npm-debug.log。追踪 node-gyp 或 make 请求 /Volumes/Data 路径的原因;完成的标准是全局安装不再因所报告的 Makefile 错误而失败。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, node.js
领域
build-system
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。