Something wrong with scss compiling. I tried to replace node-sass with sass but it didn't help. Don't even know where to start to explore to solve this problem. It worked well with version 12, but after update to 13 and 14 it doesn't. Is there any crucial changes in compiler after update?
error:
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: expected ";".
package.json
{
"name": "lk",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve --host=0.0.0.0",
"build": "ng build --configuration=prod --base-href=/lk/ --build-optimizer false",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^14.2.6",
"@angular/common": "^14.2.6",
"@angular/compiler": "^14.2.6",
"@angular/core": "^14.2.6",
"@angular/forms": "^14.2.6",
"@angular/platform-browser": "^14.2.6",
"@angular/platform-browser-dynamic": "^14.2.6",
"@angular/router": "^14.2.6",
"@fortawesome/angular-fontawesome": "^0.9.0",
"@fortawesome/fontawesome-svg-core": "^1.2.27",
"@fortawesome/free-solid-svg-icons": "^5.12.1",
"@ng-select/ng-select": "^7.4.0",
"@ngtools/webpack": "^12.2.17",
"@ngx-loading-bar/router": "^2.2.0",
"angular-img-http-src": "^1.0.1",
"bootstrap": "^4.3.1",
"bootstrap-datepicker": "^1.8.0",
"core-js": "^2.5.5",
"feather-icons-sass": "^1.0.0",
"font-awesome": "^4.7.0",
"ie-shim": "^0.1.0",
"jquery": "^3.3.1",
"moment": "^2.22.1",
"ng2-completer": "^3.0.2",
"ng2-date-picker": "~2.9.0",
"popper.js": "^1.16.0",
"rxjs": "^6.5.3",
"node-sass": "^4.14.1",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~14.2.6",
"@angular-eslint/builder": "12.7.0",
"@angular-eslint/eslint-plugin": "12.7.0",
"@angular-eslint/eslint-plugin-template": "12.7.0",
"@angular-eslint/schematics": "12.7.0",
"@angular-eslint/template-parser": "12.7.0",
"@angular/cli": "^14.2.6",
"@angular/compiler-cli": "^14.2.6",
"@angular/language-service": "^14.2.6",
"@types/jasmine": "~3.8.0",
"@types/jasminewd2": "~2.0.2",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "4.28.2",
"@typescript-eslint/parser": "4.28.2",
"codelyzer": "^6.0.0",
"eslint": "^7.26.0",
"jasmine-core": "~3.8.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.1.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~4.1.0",
"typescript": "4.6.4"
}
}