-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
BUG : Command '['/usr/bin/npm', 'bin', '--global']' returned non-zero exit status 1. #337
Comments
@icepick4 I'm having same issue since last 12 days as seen here - https://github.com/aravindvnair99/AravindVNair99/commits/main So you're not the only one. Looks like something has changed in the dependencies. As per the error message, something is going wrong when we try to save the bar graph here: waka-readme-stats/make_bar_graph.py Line 105 in 34f9ec1
|
Thank's for your answer ! |
Hey @icepick4 @aravindvnair99 you guys can have a quick fix , in your config set SHOW_LOC_CHART="False" , this should make sure that loc.py isn't invoked not causing the problem . |
@unownone Yes that's correct. I wanted to find the issue and the solution for the same however. Unfortunately, I haven't had time to look at what's causing the issue. If anyone wants to submit a PR, feel free. |
@unownone Thank you it works ! |
@aravindvnair99 I think the issue most probably is coming from altair or the data that is coming from outside , as it breaks at a subprocess level , so you have to dig pretty down ig? I sat down for a while but gave up :,,,) , generating github personal access tokens are a pain . Do you think there's a good way to test things ( like printing in a |
@unownone generally what I do to test is fork this repository, makes changes in my fork. Set my profile to use my fork to validate and test instead of pointing to this repository and once things look good, I create a pull request. Unfortunately we don't have a CI system in this repository to test every incoming PR. |
Temporary fix anmol098/waka-readme-stats#337
@aravindvnair99, I've submitted a PR that should solve the issue (however I still get http error 104 localy), could you please check it out? |
* NPM update removed [because of breaking changes introduced in NPMv9](altair-viz/altair_saver#113), NPMv8 is provided with container [by default](https://hub.docker.com/r/nikolaik/python-nodejs) * Set `npm` to not go beyond v9 because of altair-viz/altair_saver#113 v9 has a breaking change for our dependency Co-authored-by: Aravind Nair <[email protected]>
stumbled over same error:
We get an error because I changed above code to just:
So
works also with os specific package installed via:
|
My solution is to install all node depencies in my python project directory: npm init
npm install vega-lite vega-cli canvas
npm install npm@8 And since
|
@mollenhauer the issue was resolved a while ago... |
I don't know why but when I run my workflow, I got this error :
Here is my .yml file :
I looked to see if other people had this problem, but I didn't find anything.
Maybe I missed something about the process.
Thank's for your help
The text was updated successfully, but these errors were encountered: