Unable to create quasar project behind http proxy
-
I want to create new quasar folder.
but I failed to download repo quasarframework/quasar-starter-kit#quasar create test Quasar CLI Failed to download repo quasarframework/quasar-starter-kit#master: tunneling socket could not be established, statusCode=400
I can use npm instal behind http proxy
I can use yarn add behind http proxy
I can use git clone behind http proxyNodeJs 14.5 npm 6.14.5 yarn 1.22.4 @qasar/cli 1.1.0
-
Make sure Node is set up for your proxy.
Scott
-
I have the same issue. The proxy server is configured, the data in the .npmrc seems correct to me.
proxy=http://<ip of proxy server>:8080/ http-proxy=http://<ip of proxy server>:8080 https-proxy=http://<ip of proxy server>:8080/
The installation of “npm install -g @quasar/cli” ran smoothly, but
C:\Users\dev>quasar create test001 / _ \ _ _ __ _ ___ __ _ _ __ | | | | | | |/ _` / __|/ _` | '__| | |_| | |_| | (_| \__ \ (_| | | \__\_\\__,_|\__,_|___/\__,_|_| Quasar CLI · Failed to download repo quasarframework/quasar-starter-kit#master: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 8080
Does anyone have an idea?
Thx -
I found the reason. The process “quasar” does not use the proxy settings from the .npmrc file, it uses the environment variable “http_proxy” (I have only checked it under Windows). The syntax corresponds to the syntax of the .npmrc file.