From 6717d181bd58a3c14818afd4dfa9c9dffe93b9b4 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 2 Nov 2020 09:01:59 +0100 Subject: [PATCH] test(@angular-devkit/build-angular): pin node-sass to version 4 The curent version of sass-loader doesn't support node-sass version 5. https://github.com/webpack-contrib/sass-loader/issues/898 --- tests/legacy-cli/e2e/tests/build/styles/node-sass.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/legacy-cli/e2e/tests/build/styles/node-sass.ts b/tests/legacy-cli/e2e/tests/build/styles/node-sass.ts index cedd8378360d..a0e4d2bf0c17 100644 --- a/tests/legacy-cli/e2e/tests/build/styles/node-sass.ts +++ b/tests/legacy-cli/e2e/tests/build/styles/node-sass.ts @@ -33,7 +33,7 @@ export default async function () { await silentExec('rm', '-rf', 'node_modules/sass'); await expectToFail(() => ng('build', '--extract-css', '--source-map')); - await installPackage('node-sass'); + await installPackage('node-sass@4'); await silentExec('rm', '-rf', 'node_modules/sass'); await ng('build', '--extract-css', '--source-map');