编译sass时出现错误,如何解决?

时间:2019-05-22 10:41:11

标签: sass

编译:sass错误,请帮助..

Tanases-MacBook-Air:sass tloredana$ npm run compile:sass
  

natours@1.0.0编译:sass / Users / tloredana / Desktop / advanced   节点萨斯sass / main.scss css / style.css

{
  "status": 1,
  "file": "/Users/tloredana/Desktop/advanced/sass/main.scss",
  "line": 128,
  "column": 3,
  "message": "Invalid CSS after \"  font-size\": expected \"}\", was \": 1.6rem;\"",
  "formatted": "Error: Invalid CSS after \"  font-size\": expected \"}\", was \": 1.6rem;\"\n        on line 128 of sass/main.scss\n>>   font-size: 1.6rem;\n\n   --^\n"
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! natours@1.0.0 compile:sass: `node-sass sass/main.scss css/style.css`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the natours@1.0.0 compile:sass 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!     /Users/tloredana/.npm/_logs/2019-05-22T10_32_29_112Z-debug.log
Tanases-MacBook-Air:sass tloredana$

0 个答案:

没有答案