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

Getting very narrow charts (on WSL) #18

Closed
arielgabizon opened this issue May 5, 2020 · 6 comments
Closed

Getting very narrow charts (on WSL) #18

arielgabizon opened this issue May 5, 2020 · 6 comments

Comments

@arielgabizon
Copy link

image

@madnight
Copy link
Owner

madnight commented May 5, 2020

For all charts or only with this specific parameters?

@arielgabizon
Copy link
Author

arielgabizon commented May 5, 2020

all (tried several examples)

@Emobe
Copy link

Emobe commented May 7, 2020

I'm getting these on arch linux. I just ran with no parameters. Info in screenshot
2020-05-07-134325_939x1150_scrot

@madnight
Copy link
Owner

madnight commented May 10, 2020

yup seems to be a problem with version 3.3.1

3.3.0 works fine

okay it seems to be a problem with the dependencies, when I install with yarn (using yarn.lock) it works, with npm not

@madnight
Copy link
Owner

Alright fixed it, latest version npx bitcoin-chart-cli@3.3.3 works again.

The problem was that I always use yarn locally and yarn uses the yarn.lock file with a working set of versions. However, with npm you get a new set of versions depending on the versions constrains in the package.json. These constrains were to loose and npm bundled a set of versions together that did not work. I pinned the versions in package.json and also added a package-lock.json to freeze the versions for npm too.

Thx for the error reporting and patience.

@arielgabizon
Copy link
Author

Thanks! Works well

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

3 participants