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

[BUG] overseerr - python is not a valid npm option #12

Closed
WowSuchRicky opened this issue Apr 4, 2023 · 2 comments
Closed

[BUG] overseerr - python is not a valid npm option #12

WowSuchRicky opened this issue Apr 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@WowSuchRicky
Copy link

WowSuchRicky commented Apr 4, 2023

What happened?

Steps to reproduce:

  1. Run curl command in README to install overseer
  2. Receive error during 'Installing dependencies via yarn': npm ERR! python is not a valid npm option

Expected results:
Installation should succeed.

Suspiciously related: https://stackoverflow.com/a/74523071/2402061
https://github.com/brettpetch/hosted-scripts/blob/master/overseerr.sh#L50 npm doesn't seem to like setting arbitrary config values as of some recent version, which is likely breaking this.

I also do have python installed and which python doesn't seem to error out when I run it manually so I am a bit confused why that if statement is triggering; may be mis config on my part though.

Relevant logs and output

nvm is already installed.
Node LTS installed.
Installing Yarn
Yarn installed.
Downloading and extracting source code
Code extracted
Installing dependencies via yarn
npm ERR! `python` is not a valid npm option

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/r/.npm/_logs/2023-04-04T21_13_25_987Z-debug-0.log
@WowSuchRicky WowSuchRicky added the bug Something isn't working label Apr 4, 2023
@willadamskeane
Copy link

Running into the same issue.

@eliob83
Copy link

eliob83 commented Apr 11, 2023

Downgrading npm to version 8 solves this, as stated in the given link:
npm install -g npm@^8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants