Phonegap installation issue via cmd nodejs [windows 7]

前端 未结 1 1969
天涯浪人
天涯浪人 2021-01-23 14:02

Im trying to install phonegap using the cmd \"npm install -g phonegap\"

but its not installing and giving me installation failed message ive pasted the cmd message belo

1条回答
  •  深忆病人
    2021-01-23 14:36

    Solved it

    Just had to set

    npm config set proxy http://usr:pwd@proxyname:port
    
    npm config set https-proxy http://usr:pwd@proxyname:port
    
    npm config set registry http://registry.npmjs.org/
    

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