Chown of root home folder to prevent EACCES errors when running 'npm install' programmatically.

This commit is contained in:
Michel Kaporin
2017-06-20 09:13:53 +02:00
parent 2e8c2c8ed6
commit d37ee228ae

View File

@@ -30,7 +30,7 @@ function configureEnvironment {
git config --global user.name "VS Code Agent"
git config --global user.email "monacotools@microsoft.com"
chown -R testuser $AGENT_BUILDDIRECTORY
chown -R testuser /root/.npm
chown -R testuser /root # to allow 'npm install' to succeed in Express repository
}
function runTest {