【问题标题】:How to fix "Invalid rule result: Instance of class Promise." while creating my first application "ng new myfirstApp"如何修复“无效的规则结果:Promise 类的实例”。在创建我的第一个应用程序“ng new myfirstApp”时
【发布时间】:2019-06-27 16:55:48
【问题描述】:

使用“ng new Appname”创建第一个 Angular 应用程序 我被困在第二个问题“您想使用哪种样式表格式?”

它向我显示错误消息“无效的规则结果:Promise 类的实例。”

我尝试从 css 预处理器列表中选择不同的选项

Invalid rule result: Instance of class Promise. Error message creating Angular first Application on css question

【问题讨论】:

    标签: angular


    【解决方案1】:

    删除 node_modules 文件夹并再次安装 @angular-cli

    参考https://github.com/angular/angular-cli/issues/11759

    【讨论】:

    • @SteveHawk 你能接受这个作为答案吗?
    猜你喜欢
    • 2019-11-01
    • 1970-01-01
    • 2019-11-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多