-
Notifications
You must be signed in to change notification settings - Fork 63
Can't install on windows #147
Comments
Related to mafintosh/utp-native#8 |
Yes, definitely! The |
It just warns and npm doesnt exist the installation but I dont get the examples work. Share var src = path.join(__dirname, 'shared')
Dat(src, function (err, dat) {
if (err) throw err
var network = dat.joinNetwork()
network.once('connection', function () {
console.log('Connected')
})
var progress = dat.importFiles(src, {
ignore: ['**/dat-node/node_modules/**']
}, function (err) {
if (err) throw err
console.log('Done importing')
console.log('Archive size:', dat.archive.content.byteLength)
})
progress.on('put', function (src, dest) {
console.log('Added', dest.name)
})
console.log(`Sharing: ${dat.key.toString('hex')}\n`)
}) Download var dest = path.join(__dirname, 'tmp')
Dat(dest, {key: key }, function (err, dat) {
if (err) throw err
var network = dat.joinNetwork()
network.once('connection', function () {
console.log('Connected')
})
dat.archive.readFile('/test.txt', function (err, content) {
console.log(content, err) // prints test.txt file!
})
console.log(`Downloading: ${dat.key.toString('hex')}\n`)
}) Share:
Download
I also tried it with |
@joehand I try to run
|
Ah, thats a simpler dat-doctor/discovery swarm bug, (still thinking about the rest of the issue, it should be able to connect over tcp but doesn't look like that is happening) |
An issue from my side can be excluded I just run |
Can you tell if they ever connect? It's not clear from the code above if its a connection issue or something else. You can try running with |
@joehand yes its connected but no files are transfered
|
Great, thanks! This should give enough info to start tracking it down. I think we were having another windows issue that was similar but can't remember what repo the issue was in... You can also try running with
I published a new dat-doctor that should fix this. But looks like its not a connection issue =). |
@joehand thanks for the fast feedback. I will wait for a fix :) |
We fixed the windows issue. But this may have been a separate bug (can't quite remember). Can you let us know if this is still an issue after updating dependencies? |
node -v v7.9.0
node-gyp -v v3.3.0
Would be awesome to see support on windows!
The text was updated successfully, but these errors were encountered: