Skip to content

Commit f776d3c

Browse files
committed
ci: fix Invalid string length for process buffer on circleci
1 parent 5c60744 commit f776d3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/e2e/setup/100-global-cli.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ export default function () {
1313
}
1414

1515
// Install global Angular CLI.
16-
return silentNpm('install', '-g', packages['@angular/cli'].tar);
16+
// --unsafe-perm is needed for circleci
17+
// because of https://github.com/sass/node-sass/issues/2006
18+
return silentNpm('install', '-g', packages['@angular/cli'].tar, '--unsafe-perm');
1719
})
1820
.then(() => exec(process.platform.startsWith('win') ? 'where' : 'which', 'ng'));
1921
}

0 commit comments

Comments
 (0)