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

后端 未结 18 2977
悲哀的现实
悲哀的现实 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:15

    I received a similar error and now have it working.

    First make sure you have the latest version

    brew update
    

    Remove your previous instance of node:

    brew uninstall node
    

    Then reinstall the latest version:

    brew install node
    

    And then make sure it is symlinked into /usr/local if it isn't already. You would get an error to let you know to complete this step.

    brew link --overwrite node 
    

    More details on how to install/upgrade node are also available.

提交回复
热议问题