-
Notifications
You must be signed in to change notification settings - Fork 1.2k
node js ipfs on windows #861
Comments
Don't think there is something that should stop it from working, but not sure how well tested js-ipfs is on windows. It'll help a lot of you post a full log of the errors and also the output from |
And npm install log And Error: Invalid key: \SHARDING |
Hi @nezzard, thanks for reporting. This is a known issue with some proposed PR changes:
Wanna help us fix this issue? I need to get a Windows VM set up and won't have fast enough connectivity this week to download the full image. |
I tried to make fix from ipfs/interface-datastore#5 but nothing work, i have the same error like before |
Or you can try https://www.appveyor.com/ |
There has been a fixed pushed, merged and released for interface-datastore. Could you confirm if this works now for you? |
Just npm install ipfs? |
Oh, that is because I never released the new interface-datastore, shame on me. Try again now :) |
Did npm uninstall ipfs than install and now get the same error Invalid key: \SHARDING |
js-ipfs
on Windows with Node.js
Hey, I'd really like to help get js-ipfs running on windows. To that end I made a pull request to update the dependency of a dependency of this project: ipld/js-ipld#83 Once that's merged and published the dependency version on here can be updated and we can start looking at whatever the next windows-related bug will be. |
@download13 which version of npm are you using? You shouldn't have this issue since Could you try doing a fresh npm install on this repo? |
I tried it just now. Still getting
|
Isn't this using a package-lock.json file? I thought you had to update them somehow as the dependencies specified there will always be installed. |
Which version of npm are you using? |
5.0.3 I tried directly replacing It turns out Now the interface-datastore package seems to work fine, but it's giving the following error when I try to build:
Which doesn't make a lot of sense as I checked that |
@download13 that is npm 5 doing its thing, you can delete the local cache or just simply delete the package-lock.json for now. |
I still get the same error |
+1
from package-lock.json
But, |
bump in |
@yaananth could you try running directly from the repo?
|
I guess so, atleast I didn't get that
|
Error: Invalid key: /CIQFX22I3H5YK5MYQ4PI63M2UKZVJOP5K63QSXHXEIWE4GSQ6LC4UMQ |
Just to make sure, these keys are only over used on one computer, correct? I mean, a key isn't constructed on one machine, then sent to another machine. |
@download13 correct. Key is used as the path and it is only known to the repo. |
@diasdavid So repos are not intended to be moved between machines? In that case is there a way to import/export all the important data in a repository? I know about the Sorry that's a little off topic, it just seems like something to consider if you can't assume a repo created on one machine will work on another. |
@download13 a repo from a machine should be usable on another machine.
|
@diasdavid So if I wanted to move a repo from a windows computer over to a linux vps, I'd be outta luck? |
@download13 you work out of the box. A repo is just a bunch of files and paths |
Windows support is here! Celebrate with us at #1017 (comment) |
Hi, i'm tried to install ipfs from npm on windows 10, but i always get an errors. So i have question, can i install ipfs on windows, or it's only for linux?
The text was updated successfully, but these errors were encountered: