Adminlte: [BUG] CSS compile error

Created on 6 Nov 2019  路  2Comments  路  Source: ColorlibHQ/AdminLTE

Describe the bug
Error when try to compile the css running npm run css

$ npm run css

[email protected] css E:\desarrollo\repos\social\templates\AdminLTE-3.0.0
npm-run-all --sequential css-compile css-prefix css-minify

[email protected] css-compile E:\desarrollo\repos\social\templates\AdminLTE-3.0.0
npm run css-compile-bash build/scss/AdminLTE.scss dist/css/adminlte.css

[email protected] css-compile-bash E:\desarrollo\repos\social\templates\AdminLTE-3.0.0
node-sass --importer node_modules/node-sass-package-importer/dist/cli.js --output-style expanded --source-map true --source-map-contents true --precision 6
$* "build/scss/AdminLTE.scss" "dist/css/adminlte.css"

An output directory must be specified when compiling a directory
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] css-compile-bash: node-sass --importer node_modules/node-sass-package-importer/dist/cli.js --output-style expanded --source-map true --source-map-contents true --precision 6 $* "build/scss/AdminLTE.scss" "dist/css/adminlte.css"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] css-compile-bash script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\jose.chero\AppData\Roaming\npm-cache_logs\2019-11-06T16_00_51_702Z-debug.log
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\jose.chero\AppData\Roaming\npm-cache_logs\2019-11-06T16_00_53_042Z-debug.log
ERROR: "css-compile" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] css: npm-run-all --sequential css-compile css-prefix css-minify
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] css script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\jose.chero\AppData\Roaming\npm-cache_logs\2019-11-06T16_00_53_393Z-debug.log
2019-11-06T16_00_53_393Z-debug.log
2019-11-06T16_00_53_042Z-debug.log

To Reproduce
Running npm run css

Expected behavior
Compiled CSS from SCSS

Environment (please complete the following information):

  • AdminLTE Version: [v3.0.0]
  • Operating System: [Win10]
  • Browser (Version): [Chrome (Latest)]

Additional context
Node version 10.16.0 or 8.16.2

npm-scripts bug 3.x

Most helpful comment

I've fixed this bug in master branch, it will released soon 馃槃

All 2 comments

I've fixed this bug in master branch, it will released soon 馃槃

Thanks, it works perfect.

Was this page helpful?
0 / 5 - 0 ratings