Errors: Data path “.builders['app-shell']” should have required property 'class'

前端 未结 20 1483
心在旅途
心在旅途 2020-11-30 19:27

I am getting this error while running my application. Here are the details of my application.

Angular CLI: 7.3.3 
Node: 10.15.1 
Angular: 7.2.7 
@angular-de         


        
20条回答
  •  渐次进展
    2020-11-30 20:05

    I had this issue, this is how i have solved it. The problem mostly is that your Angular version is not supporting your Node.js version for the build. So the best solution is to upgrade your Node.js to the most current stable one.

    For a clean upgrade of Node.js, i advise using n. if you are using Mac.

    npm install -g n
    npm cache clean -f
    sudo n stable
    npm update -g
    

    and now check that you are updated:

    node -v
    npm -v
    

    For more details, check this link: here

提交回复
热议问题