Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

jsipfs init works but no results #286

Closed
@MasterJames

Description

@MasterJames

when I run jsipfs init it does create the config so show will display the Identity.PeerId etc.
but it doesn't actually display what is shown in the demos as in results with the ipfs cat /ipfs/PeerId/readme
Maybe one needs some extra steps explained in the repo README to add files etc.?

When I add a with files add NewFile.txt it says
added ID NewFile.txt as expected
if I files get /ipfs/ID it says
error EISDIR: illegal operation on a directory, open 'C:\WORK_FOLDER\IPFS\ipfs'

If I put "files get /ifps/ID/NewFile.txt" is says
error Non-base58 character

jsipfs ls ID results in a blank line, while the files get shows the directory in the EISDIR: illegal operation on a directory error and if I look there is nothing there (after adding from outside). If I move the file in from the parent folder it was added from I see no change.

Now If I files add from within the target folder in will create a directory with the same hash and the files is still there. Putting the file inside the folder named from the hash makes no difference to ls /ipfs/ID as it will always display blank.

Metadata

Metadata

Assignees

Labels

exp/noviceSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions