Another process, with id #######, is currently running ngcc

后端 未结 6 1372
甜味超标
甜味超标 2020-12-24 10:05

I\'m trying to build and serve my project. It was working properly, I updated it from git and then suddenly when I serve it, there is an Error saying \"Another process, with

相关标签:
6条回答
  • 2020-12-24 10:40

    The Laptop Crashed and I got this problem after restart. Removing the below file from ionic project solved the problem.

    node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file

    0 讨论(0)
  • 2020-12-24 10:41

    This happens when ngcc (Angular compatibility compiler) is not finished doing what it does, you must have enabled ivy in your Angular project. read here for more info about ivy.

    1. First try to run npm install again, to see if it fixes your problem.
    2. Try to run ngcc manually.
    3. remove this file node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__
    4. If none of the above worked, then remove node_modules directory and try npm i again.
    0 讨论(0)
  • 2020-12-24 10:47

    Just run

    ionic repair

    And select Yes

    0 讨论(0)
  • 2020-12-24 10:48

    Try deleting your ngcc_lock_file in the path:

    node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file
    

    It's work for me.

    0 讨论(0)
  • 2020-12-24 10:57

    just remove the node_modulesthen run npm i

    0 讨论(0)
  • 2020-12-24 11:06

    I deleted the file node_modules/@angular/compiler-cli/ngcc/ngcc_lock_file_ from the node_modules folder and its working fine.

    0 讨论(0)
提交回复
热议问题