-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Tests on Windows #1075
Comments
@richardschneider Now that you pushed Windows support, do you want to share an update here on your plans to fix the tests to make sure Appveyor is happy? |
First, I'll change all tests not to use Next change is harder. It seems that NPM likes to randomly throw EPERM every now and then. I've even seen it once or twice on my local machine. According to Medium/phantomjs#19 it may be Windows Anti-Virus software; which I consider a virus in itself. |
Also npm/npm#18380 (comment) suggests downgrading NPM Another idea from npm/npm#17747 is to use |
@victorbjelkholm have you seen any of these EPERM errors on Jenkins Windows build? |
@richardschneider yes indeed I've seen those errors that happened every once in a while. The only reliable solution I've found is to turn off real time protection in Windows Defender. In Powershell, you can disable it like this: From https://github.com/ipfs/jenkins/blob/a73cb56893a80427ce0e87601ef1dcb8326222f0/worker/main.tf#L220 |
For the record, ended up going with Yarn as it handles concurrent installs better than npm. But, got those errors with Yarn as well, unless turning off the real-time protection. |
Lot's of work happening on #1103 |
The path
/tmp/...
does not exist on windows. Usepath.join(os.tmpdir(), '...')
.See some possible bad tests
The text was updated successfully, but these errors were encountered: