creativetimofficial / ct-argon-dashboard-pro-angular

8 stars 4 forks source link

Build fail in docker #6

Closed snwnst closed 4 years ago

snwnst commented 4 years ago

when I run ng build --prod --aot = true in a node docker image it shows the error:

ERROR in ./src/assets/scss/argon.scss Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: Can't find stylesheet to import. ╷ 39 │ @import "../core/charts/chart"; │ ^^^^^^^^^^^^^^^^^^^^^^ ╵ src/assets/scss/custom/_components.scss 39:9 @import /usr/src/app/src/assets/scss/argon.scss 49:9 root stylesheet at /usr/src/app/node_modules/webpack/lib/NormalModule.js:316:20 at /usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:367:11 at /usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:233:18 at context.callback (/usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at /usr/src/app/node_modules/sass-loader/dist/index.js:73:7 at Function.call$2 (/usr/src/app/node_modules/sass/sass.dart.js:54311:16) at _render_closure1.call$2 (/usr/src/app/node_modules/sass/sass.dart.js:33509:12) at _RootZone.runBinary$3$3 (/usr/src/app/node_modules/sass/sass.dart.js:19817:18) at _RootZone.runBinary$3 (/usr/src/app/node_modules/sass/sass.dart.js:19821:19) at _FutureListener.handleError$1 (/usr/src/app/node_modules/sass/sass.dart.js:18286:19) at _Future__propagateToListeners_handleError.call$0 (/usr/src/app/node_modules/sass/sass.dart.js:18574:40) at Object._Future__propagateToListeners (/usr/src/app/node_modules/sass/sass.dart.js:3484:88) at _Future._completeError$2 (/usr/src/app/node_modules/sass/sass.dart.js:18410:9) at _AsyncAwaitCompleter.completeError$2 (/usr/src/app/node_modules/sass/sass.dart.js:17809:12) at Object._asyncRethrow (/usr/src/app/node_modules/sass/sass.dart.js:3240:17) at /usr/src/app/node_modules/sass/sass.dart.js:10538:20

github-actions[bot] commented 4 years ago

@snwnst this issue was automatically closed because it did not follow the bellow rules:


IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/argon-dashboard-pro-angular

**If your issue was not created using the app above, it will be closed immediately.**

Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com