-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Error when npm installing 1.7.0 #163
Comments
Thanks for reporting, I will take a look. |
I was taking a look at the issue happened https://ci.appveyor.com/project/sanack/node-jq/builds/23923362/job/299dacxnfpog3a78 and seems that it's a node error happening when you try to change the permissions to downloaded jq. The issue posted on nodejs is here nodejs/node#20498 |
Could you try with |
hello! Getting the same error when trying to install 1.7.1 FYI don't know if relevant - I'm working on a windows machine! Installing 1.5.0 works fine for me as well |
1.6.0 works on macosx 1.7+ doesnt. |
- There where issues when trying to install a greater version: sanack/node-jq#163
Which error are you facing? |
I tried personally, and fails only with npm (my version is 6.4.1). Could you share your npm's version @sirpy @jakobwgnr |
It's fixed in The key Sorry for the apologies folks! |
Hi! I'm using version 1.12.0 and the issue is reappearing on unix. Bin folder is missing in node_modules/node-jq after yarn install |
Can you make a reproduction example that I can look into? |
It turned out that bin folder is missing if I call |
It is also very unfortunate, that after it is installed without bin folder, further calls to 'yarn install' (without --ignore-scripts flag) don't end up in installing bin, as it supposes everything is installed already. |
Right, I'm not sure if I understand this part:
If you want to keep the
Hope this helps |
Thanks, will give it a try! Probably, it would be good to note in the documentation somewhere that node-jq requires postinstall scripts to be run. |
There's a paragraph explaining that:
Will improve it, Thanks |
BTW, I have it installed in the system, but I had the same ENOENT crash saying it was not found in node_modules/node-jq/bin/jq. |
Hey guys, it seems that there's an issue with the latest version. We tried on 3 different machines, all current NPM versions, in repos where it used to work before and in empty folders, and it always says:
Installing an older version works:
npm install node-jq@1.5.0
The text was updated successfully, but these errors were encountered: