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

--ipfs-repo doesn't recoginze ~ #87

Open
vmx opened this issue Feb 5, 2019 · 2 comments
Open

--ipfs-repo doesn't recoginze ~ #87

vmx opened this issue Feb 5, 2019 · 2 comments
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@vmx
Copy link

vmx commented Feb 5, 2019

That's a fun issue. I ran npm-ipfs but wanted to keep the repo separate from the default one. I thought ~/.cache/npm-ipfs might be a good place if you're under Linux. So I ran:

npm-ipfs --ipfs-repo=~/.cache/npm-ipfs install

And guess what? The repository is created in the current directory in a directory called ~.

@achingbrain
Copy link
Member

achingbrain commented Feb 5, 2019

Weird, you'd have thought the shell would expand the path.

@vmx
Copy link
Author

vmx commented Feb 5, 2019

BTW: IIRC the message about where the repo is also said Spawning an in-process IPFS node using repo at ~/.cache/npm-ipfs`. Perhaps you want to normalize that to an absolute path.

@achingbrain achingbrain added the kind/bug A bug in existing code (including security flaws) label Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

2 participants