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

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

    Try to remove /usr/local/lib/node_modules/npm and reinstall node again. This should work.

    On MacOS with Homebrew:

    sudo rm -rf /usr/local/lib/node_modules/npm
    brew reinstall node
    

提交回复
热议问题