Node.js is upgraded from 12. X to 14. X. the original Vue project starts with an error

Error message:

         After nodejs upgrade, the Vue project starts with an error message, prompting the command “NPM rebuild node sass”

Solution:

        1. Execute on the command line   npm install -g cnpm –registry= https://registry.npm.taobao.org

        2. Execute the command again: NPM rebuild node sass

        3. Restart Vue project successfully

Similar Posts: