1、错误描述
[编译scss/sass] 16:04:01.955 {
[编译scss/sass] 16:04:01.955 "status": 1,
[编译scss/sass] 16:04:01.955 "file": "G:/HBuilderXWork/ES6/sass/a.sass",
[编译scss/sass] 16:04:01.955 "line": 1,
[编译scss/sass] 16:04:01.955 "column": 12,
[编译scss/sass] 16:04:01.955 "message": "Invalid CSS after \"#student p{\": expected \"}\", was \"{\"",
[编译scss/sass] 16:04:01.955 "formatted": "Error: Invalid CSS after \"#student p{\": expected \"}\", was \"{\"\n on line 1 of a.sass\n>> #student p{ {\n\n -----------^\n"
[编译scss/sass] 16:04:01.955 }
2、错误原因
#student p{
color: #FF0000;
width: 300px;
.name{
color: red;
font-size: 14px;
}
}
3、解决办法