Bower - error when installing package “Arguments to path.join must be strings”

前端 未结 3 733
醉梦人生
醉梦人生 2021-02-19 07:21

I just created a node project and am trying to install jquery using bower.

bower install jquery

I get the following error:

bowe         


        
3条回答
  •  轮回少年
    2021-02-19 07:50

    For me npm install -update bower was not sufficient.

    I needed to install the version by specifing it explicit:

    sudo npm install -q bower@1.3.8

    and yes, I had to run this with sudo.

提交回复
热议问题