"This platform is not implemented yet" on Windows 10
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 16
- 派生
- 23
- PR 合并指标
- 30 天内没有已合并 PR
描述
The following exception happens running on Windows 10.
> macos-alias@0.2.11 install C:\jenkins\workspace\UniletApp\node_modules\macos-alias
> node-gyp rebuild
C:\jenkins\workspace\UniletApp\node_modules\macos-alias>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
volume.cc
win_delay_load_hook.cc
..\src\volume.cc(9): fatal error C1189: #error: This platform is not implemented yet [C:\jenkins\workspace\UniletApp\node_modules\macos-alias\build\volume.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:285:23)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\jenkins\workspace\UniletApp\node_modules\macos-alias
gyp ERR! node -v v8.0.0
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
失败发生在 node-gyp 重新构建 macos-alias 时;先从 src/volume.cc 和发出 C1189 错误的平台保护代码开始,然后使用报告中的 Node v8.0.0 和 node-gyp v3.6.1 重现安装过程。完成标准是确定受支持的 Windows 行为,并使 Windows 安装成功完成,或明确报告预期的限制。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp, node.js
- 领域
- build-system, tooling
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100