npm WARN … requires a peer of … but none is installed. You must install peer dependencies yourself

前端 未结 10 869
不知归路
不知归路 2020-11-29 15:44

I tried to run a project downloaded from github. Unfortunately, during npm install the following warnings were shown. I tried to change the version based on thi

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 16:28

    total edge case here: I had this issue installing an Arch AUR PKGBUILD file manually. In my case I needed to delete the 'pkg', 'src' and 'node_modules' folders, then it built fine without this npm error.

提交回复
热议问题