nodejs / nodejs/node-gyp

make: *** No rule to make target `Release/obj.target/binding/src/binding.o', needed by `Release/binding.node'. Stop.

Open
#2,269 10 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.7k
Forks
1.9k
Avg merge
1d 4h
Merged PRs (30d)
5

Description

$ node-gyp rebuild

make: *** No rule to make target Release/obj.target/binding/src/binding.o', needed by Release/binding.node'. Stop.
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/chetankhandla/.nvm/versions/node/v14.13.1/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/Users/chetankhandla/.nvm/versions/node/v14.13.1/bin/node" "/Users/chetankhandla/.nvm/versions/node/v14.13.1/bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/chetankhandla/projects/sagar/everything-alternative-website
gyp ERR! node -v v14.13.1
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok

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

The report only identifies the node-gyp rebuild command and the failure in node-gyp/lib/build.js:194; begin by reproducing it on the stated Node 14.13.1 and macOS setup and inspecting the generated Make targets. Done means the missing Release/obj.target/binding/src/binding.o dependency is explained and the build succeeds or the issue is narrowed to a reproducible project or configuration problem.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.