ERROR ngx-daterangepicker-material An accessor cannot be declared in an ambient context

前端 未结 7 2478
离开以前
离开以前 2021-02-13 23:58

Can you help me out with this error? this my package.json error I keep getting this error:

ERROR in node_modules/ngx-daterangepicker-material/daterangepicker.component.

7条回答
  •  悲&欢浪女
    2021-02-14 00:37

    I tried all the proposed solutions above, they didn't solve the issue for me. However, I solved this issue by simply changing the package version:

    "ngx-daterangepicker-material": "2.1.9"

    Then - removing node_modules folder - npm install - ng serve works - ng build --prod --aot=true also works

提交回复
热议问题