NPM install -g not working after Titanium install

前端 未结 1 1901
北海茫月
北海茫月 2021-02-09 09:54

I have installed Titanium onto my mac and now when ever I try to globally install any npm packages it fails.

The output from my install is

npm http 304         


        
相关标签:
1条回答
  • 2021-02-09 10:36

    Try typing:

    npm set prefix /usr/local
    

    Then installing again.

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