Nativescript CSS-错误:需要';的第一个参数应该是字符串

Nativescript CSS-错误:需要';的第一个参数应该是字符串,css,angular,nativescript,nativescript-angular,Css,Angular,Nativescript,Nativescript Angular,我在尝试为我的应用程序组件创建特定于平台的CSS时遇到以下错误。我的android.css工作正常,但common.css不工作。你知道为什么吗 JS: Error: /app.component.common.css does not start with /data/data/org.nativescript.portalestapp/files/app JS: Error: Could not load CSS from /app.component.common.css: Error:

我在尝试为我的应用程序组件创建特定于平台的CSS时遇到以下错误。我的android.css工作正常,但common.css不工作。你知道为什么吗

JS: Error: /app.component.common.css does not start with /data/data/org.nativescript.portalestapp/files/app

JS: Error: Could not load CSS from /app.component.common.css: Error: require's first parameter should be string
我有以下文件: app.component.html

app.component.ts

app.component.common.css

app.component.android.css

app.component.ios.css

app.component.ts:

@Component({
    selector: "ns-app",
    moduleId: module.id,
    templateUrl: "app.component.html",
    styleUrls: ["./app.component.css"]
})
app.component.common.css:

.page{
    background-color: #F4F5F7;
    font-family:Poppins-Regular, Poppins
}

.custom-action-bar {
    background-color:transparent;
}
app.component.android.css:

@import "/app.component.common.css";

.page {
    background-color: #fffffffa;
}
页面{
背景色:#f4f7;
字体系列:Poppins常规,Poppins
}
自定义操作栏{
背景色:透明;

}
您是否尝试过逐一注释CSS规则,并查看到底是哪一行导致了问题?