Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-1104

Build Failure - Due to Bootstrap version change

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.4.1
    • Labels:
      None

      Description

      Build failure is seen as bootstrap moved to 4-beta from v4.0.0-alpha.6

      [INFO] ERROR in multi script-loader!./~/jquery/dist/jquery.js
      script-loader!./~/tether/dist/js/tether.js
      script-loader!./~/ace-builds/src-noconflict/ace.js
      [INFO] Module not found: Error: Can't resolve
      '/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/jquery/dist/jquery.js'
      in
      '/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/@angular/cli/models/webpack-configs'
      [INFO] @ multi script-loader!./~/jquery/dist/jquery.js
      script-loader!./~/tether/dist/js/tether.js
      script-loader!./~/ace-builds/src-noconflict/ace.js
      [INFO]
      [INFO] ERROR in multi script-loader!./~/jquery/dist/jquery.js
      script-loader!./~/tether/dist/js/tether.js
      script-loader!./~/ace-builds/src-noconflict/ace.js
      [INFO] Module not found: Error: Can't resolve
      '/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/tether/dist/js/tether.js'
      in
      '/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/@angular/cli/models/webpack-configs'
      [INFO] @ multi script-loader!./~/jquery/dist/jquery.js
      script-loader!./~/tether/dist/js/tether.js
      script-loader!./~/ace-builds/src-noconflict/ace.js
      [INFO]
      [INFO] ERROR in ./src/vendor.scss
      [INFO] Module build failed:
      [INFO] @import "~bootstrap/scss/normalize";
      [INFO] ^
      [INFO] File to import not found or unreadable:
      ~bootstrap/scss/normalize.
      [INFO] Parent style sheet: stdin
      [INFO] in
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      (line 31, column 1)
      [INFO] @ multi ./~/font-awesome/css/font-awesome.css ./src/vendor.scss
      ./src/styles.scss
      [INFO]
      [INFO] ERROR in ./src/styles.scss
      [INFO] Module build failed:
      [INFO] @import "~bootstrap/scss/normalize";
      [INFO] ^
      [INFO] File to import not found or unreadable:
      ~bootstrap/scss/normalize.
      [INFO] Parent style sheet:
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      [INFO] in
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      (line 31, column 1)
      [INFO] @ multi ./~/font-awesome/css/font-awesome.css ./src/vendor.scss
      ./src/styles.scss
      [INFO]
      [INFO] ERROR in Child compilation failed:
      [INFO] Module build failed:
      [INFO] @import "~bootstrap/scss/normalize";
      [INFO] ^
      [INFO] File to import not found or unreadable:
      ~bootstrap/scss/normalize.
      [INFO] Parent style sheet:
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      [INFO] in
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      (line 31, column 1):
      [INFO] Error:
      [INFO] @import "~bootstrap/scss/normalize";
      [INFO] ^
      [INFO] File to import not found or unreadable:
      ~bootstrap/scss/normalize.
      [INFO] Parent style sheet:
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      [INFO] in
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      (line 31, column 1)
      [INFO]
      [INFO] ERROR in ./src/main.ts
      [INFO] Module not found: Error: Can't resolve
      './$$_gendir/app/app.module.ngfactory' in
      '/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src'
      [INFO] @ ./src/main.ts 20:0-74
      [INFO] @ multi ./src/main.ts
      [INFO]
      [INFO] ERROR in ./src/styles.scss
      [INFO] Module build failed: ModuleBuildError: Module build failed:
      [INFO] @import "~bootstrap/scss/normalize";
      [INFO] ^
      [INFO] File to import not found or unreadable:
      ~bootstrap/scss/normalize.
      [INFO] Parent style sheet:
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      [INFO] in
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      (line 31, column 1)
      [INFO] at runLoaders
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/webpack/lib/NormalModule.js:192:19)
      [INFO] at
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/loader-runner/lib/LoaderRunner.js:364:11
      [INFO] at
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/loader-runner/lib/LoaderRunner.js:230:18
      [INFO] at context.callback
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
      [INFO] at Object.asyncSassJobQueue.push [as callback]
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/sass-loader/lib/loader.js:55:13)
      [INFO] at Object.<anonymous>
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/async/dist/async.js:2244:31)
      [INFO] at Object.callback
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/async/dist/async.js:906:16)
      [INFO] at options.error
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/node-sass/lib/index.js:294:32)
      [INFO]
      [INFO] ERROR in ./src/vendor.scss
      [INFO] Module build failed: ModuleBuildError: Module build failed:
      [INFO] @import "~bootstrap/scss/normalize";
      [INFO] ^
      [INFO] File to import not found or unreadable:
      ~bootstrap/scss/normalize.
      [INFO] Parent style sheet: stdin
      [INFO] in
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/src/vendor.scss
      (line 31, column 1)
      [INFO] at runLoaders
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/webpack/lib/NormalModule.js:192:19)
      [INFO] at
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/loader-runner/lib/LoaderRunner.js:364:11
      [INFO] at
      /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/loader-runner/lib/LoaderRunner.js:230:18
      [INFO] at context.callback
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
      [INFO] at Object.asyncSassJobQueue.push [as callback]
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/sass-loader/lib/loader.js:55:13)
      [INFO] at Object.<anonymous>
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/async/dist/async.js:2244:31)
      [INFO] at Object.callback
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/async/dist/async.js:906:16)
      [INFO] at options.error
      (/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node_modules/node-sass/lib/index.js:294:32)

      [ERROR] npm ERR! Darwin 15.5.0
      [ERROR] npm ERR! argv
      "/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node/node"
      "/Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-alerts/node/node_modules/npm/bin/npm-cli.js"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raghumitra RaghuMitra
                Reporter:
                raghumitra RaghuMitra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: