Error: Cannot find module '../lib/utils/unsupported.js' while using Ionic

后端 未结 18 2978
悲哀的现实
悲哀的现实 2020-12-12 09:34

I always get this error message when I run \"Ionic start project name\":

Error message

Running command - failed![ERROR] An error occurred while run         


        
18条回答
  •  遥遥无期
    2020-12-12 10:28

    I got this error by mixing install/update methods: installed node via downloading package from website and later I used brew to update.

    I fixed by uninstalling the brew version :

    brew uninstall --ignore-dependencies node

    Then I went back to node website and downloaded and installed via the package manager: https://nodejs.org/en/download/ For some reason, no amount of trying to reinstall via brew worked.

提交回复
热议问题