From b2bff0ad64a1cfe9f04fc7741334dbe6a8af44f8 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 (cherry picked from commit 6717d181bd58a3c14818afd4dfa9c9dffe93b9b4) (cherry picked from commit c4e8c71e36c56c8d43e913288700f8d8efaa7dde) --- 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 e0a4b3fc2cdc..e726b710d0a1 100644 --- a/tests/legacy-cli/e2e/tests/build/styles/node-sass.ts +++ b/tests/legacy-cli/e2e/tests/build/styles/node-sass.ts @@ -32,7 +32,7 @@ export default async function () { await silentExec('rm', '-rf', 'node_modules/sass'); await expectToFail(() => ng('build', '--extract-css', '--source-map')); - await silentNpm('install', 'node-sass'); + await silentNpm('install', 'node-sass@4'); await silentExec('rm', '-rf', 'node_modules/sass'); await ng('build', '--extract-css', '--source-map');