Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on linux #15

Closed
stefaneg opened this issue Nov 7, 2018 · 1 comment
Closed

Not working on linux #15

stefaneg opened this issue Nov 7, 2018 · 1 comment

Comments

@stefaneg
Copy link

stefaneg commented Nov 7, 2018

Symbolic link created is dangling. There is extra -x or x-, depending on how you look at it.

root@b1e01d294372:/packages/node_modules/jq-cli-wrapper/vendor# ls -lart
total 2968
-rwxr-xr-x 1 root root 3027945 Nov  7 20:48 jq-linux64
drwxr-xr-x 3 root root    4096 Nov  7 20:48 ..
lrwxrwxrwx 1 root root      12 Nov  7 20:48 jq -> jq-linux-x64
drwxr-xr-x 2 root root    4096 Nov  7 20:48 .

Installed in docker FROM node:8

@elazar
Copy link

elazar commented Jan 14, 2019

I can confirm this. It is happening in CircleCI as well, even when doing a fresh install of 1.0.2.

circleci@526975555af1:~/test$ npm i jq-cli-wrapper
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

> jq-cli-wrapper@1.0.2 postinstall /home/circleci/test/node_modules/jq-cli-wrapper
> rm -rf vendor; node link-binary.js

npm WARN saveError ENOENT: no such file or directory, open '/home/circleci/test/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/circleci/test/package.json'
npm WARN test No description
npm WARN test No repository field.
npm WARN test No README data
npm WARN test No license field.

+ jq-cli-wrapper@1.0.2
added 289 packages from 135 contributors and audited 1120 packages in 10.742s
found 1 moderate severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

circleci@526975555af1:~/test$ ls -la node_modules/jq-cli-wrapper/vendor/
total 2968
drwxr-xr-x 2 circleci circleci    4096 Jan 14 18:28 .
drwxr-xr-x 3 circleci circleci    4096 Jan 14 18:28 ..
lrwxrwxrwx 1 circleci circleci      12 Jan 14 18:28 jq -> jq-linux-x64
-rwxr-xr-x 1 circleci circleci 3027945 Jan 14 18:28 jq-linux64

Looks like #14 may have been intended to address this, but didn't quite do the trick?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants