No rule to make target '../.node-gyp/0.10.36/common.gypi', needed by 'Makefile
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 271
- Avg merge
- 23h 40m
- Merged PRs (30d)
- 2
Description
In https://github.com/voodootikigod/node-serialport/issues/535#issuecomment-109098152 I've been documenting a difficulty with installing serialport which depends on node-pre-gyp, and have seen the following error (or possibly two):
```
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.36"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/serialport/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/serialport/build'
make: *** No rule to make target '../.node-gyp/0.10.36/common.gypi', needed by 'Makefile'. Stop.
make: Leaving directory '/usr/local/lib/node_modules/serialport/build'
```
Is this a node-pre-gyp issue or a node-serialport issue? If the latter, please feel free to close, but is there perhaps a patch I could submit to node-serialport to resolve it? Thanks in advance for any help.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the node-pre-gyp installation path with the linked node-serialport report and reproduce the shown make failure. Done means identifying whether node-pre-gyp or node-serialport owns the missing ../.node-gyp/0.10.36/common.gypi dependency and documenting or fixing that path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100