You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just setup sinopia on Windows server 2012, and setup npm according to the instructions. I can connect and install modules correctly. I can't seem to publish private repositories. I ran sinopia with node-inspector and I keep getting a fs related error EBUSY. I think it might have to do with how Windows locks files so the safe write function might not work properly in Windows.
Is anybody else experiencing something similar?
Thanks.
The text was updated successfully, but these errors were encountered:
Would this implementation of the write function still work? (local-fs.js)
functionwrite(dest,data,cb){varlock=dest+'.lock';if(!fs.existsSync(lock)){mkdirp.sync(Path.dirname(dest))fs.writeFileSync(lock,'')fs.writeFile(dest,data,function(err){fs.unlinkSync(lock)cb(err)})}else{cb({message: 'file locked for writing'})}}
I got this implementation to work in windows. Does anyone see an issue with this approach?
Just setup sinopia on Windows server 2012, and setup npm according to the instructions. I can connect and install modules correctly. I can't seem to publish private repositories. I ran sinopia with node-inspector and I keep getting a fs related error EBUSY. I think it might have to do with how Windows locks files so the safe write function might not work properly in Windows.
Is anybody else experiencing something similar?
Thanks.
The text was updated successfully, but these errors were encountered: