Am trying to use bootstrap and have 1 styles.scss file to compile all the of its css. I have added those paths to the angular.json but still get the following error:
ERROR in multi ./src/scss/styles.scss ./node_modules/bootstrap/dist/css/bootstrap.min.css Module not found: Error: Can't resolve '/User/Project/src/scss/styles.scss' in '/Users/Project'
I have read many posts such as:
- ENOENT: no such file or directory for node_modules\jquery\dist\jquery.min.js'
- angular2-cli gives @multi styles error
They all point out that in the angular.json file the paths are absolute basically. However I have made those changes, believe that the paths I entered are correct but still get this error.
Any hints on what I'm doing wrong here?
Angular.json
"architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "dist/expoapero-front",
            "index": "src/index.html",
            "main": "src/main.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "src/tsconfig.app.json",
            "assets": [
              "src/favicon.ico",
              "src/assets"
            ],
            "styles": [
              "src/scss/styles.scss",
              "node_modules/bootstrap/dist/css/bootstrap.css"
            ],
            "scripts": [
              "node_modules/jquery/dist/jquery.js"
            ],
Absolute paths to both files mentioned in the error message:
- src/scss/styles.scss
- node_modules/bootstrap/dist/css/bootstrap.css
 
     
    