Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/node-sass/build'

前端 未结 7 811
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 20:31

I am trying to run angular application and execute ng serve command then show

Error: Cannot find module \'node-sass\'.

相关标签:
7条回答
  • 2021-01-31 21:23

    make sure you are not in home or other places. you need to go back to root

    use this command

    $ cd ..
    $ cd ~
    

    your current location should look like

    masood@masood-HP-ProDesk-600-G1-TWR:~$
    

    after this run the command to create a project

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