mapbox / mapbox/node-fontnik

npm install fails on Win 10, Node v16.7, VS studio 2019

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

Nobody has claimed this yet.

Dominant language
C++
Stars
248
Forks
67
PR merge metrics
No merged PRs in 30d

Description

"npm install" errors out with:

"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(24
1,5): error MSB8066: Custom build for '..\scripts\install_deps.sh' exited with code 1. [D:\code\node-fontnik\build\acti
on_before_build.vcxproj]"

I have installed Visual Studio 2019 but perhaps there is something missing? FYI: "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets" this file DOES exist in this directory - so not sure why there is an error.

On Win 10, using Node v16.7.

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.

Research direction

Start by reproducing npm install on Windows 10 with Node v16.7 and Visual Studio 2019, then inspect scripts/install_deps.sh and the reported MSBuild error. Done means npm install completes successfully in that environment without the MSB8066 failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.