Using request for node-pre-gyp https download node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack TypeError: tar.extract is not a function
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 271
- Avg merge
- 23h 40m
- Merged PRs (30d)
- 2
Description
Hi there,
I am not able to build my mtar for my SAP CAP based application because of node-pre-gyp.
I already used these commands:
npm uninstall node-pre-gyp --save
npm install @mapbox/node-pre-gyp --save
In my package.json I have added the dependency: "@mapbox/node-pre-gyp": "^1.0.5",
...no effect...
I am getting this error:
ERROR could not package the "app-39818-srv" module when archiving: could not read the "/home/user/projects/app-39818-arbeitskleidung/gen/srv/node_modules/hana-cli/node_modules/.bin/detect-libc" symbolic link: stat /home/user/projects/app-39818-arbeitskleidung/gen/srv/node_modules/hana-cli/node_modules/detect-libc/bin/detect-libc.js: no such file or directory
make: *** [Makefile_20210714125238.mta:37: app-39818-srv] Error 1
Error: could not build the MTA project: could not execute the "make -f Makefile_20210714125238.mta p=cf mtar= strict=true mode=" command: exit status 2
Any idea?
Thank you and BR
Rufat
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
The report names package.json, the node-pre-gyp installation commands, and an MTA build command, but no repository file or test. Start by reproducing the reported build and compare the installed node-pre-gyp, tar, and detect-libc dependencies with the failing stack trace. Done means identifying a reproducible node-pre-gyp failure and documenting or testing a supported fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100