npm install permission denied (macOS)

前端 未结 6 858
梦谈多话
梦谈多话 2021-02-07 15:08

To install a Bootstrap theme I want to run npm install. However I always receive a permission denied error.

I already tried nvm and then switched with

6条回答
  •  时光说笑
    2021-02-07 16:03

    For me it was,

    npm cache clean --force
    rm -rf node_modules
    npm install
    

    I tried deleting manually but didn't help

提交回复
热议问题