# Ionic2 Not Working on my proxy server

**URL:** <https://forum.ionicframework.com/t/ionic2-not-working-on-my-proxy-server/75353>\
**Category:** ionic-v3\
**Created:** [January 6, 2017, 7:23am UTC](https://forum.ionicframework.com/t/ionic2-not-working-on-my-proxy-server/75353 "2017-01-06T07:23:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhandaribhumin](https://avatars.discourse-cdn.com/v4/letter/b/65b543/32.png) [@bhandaribhumin](https://forum.ionicframework.com/u/bhandaribhumin)\
**Post date:** [January 6, 2017, 7:23am UTC](https://forum.ionicframework.com/t/ionic2-not-working-on-my-proxy-server/75353/1 "2017-01-06T07:23:43Z")

</div>

Hello,  
**I am getting error while use**

> ionic start --v2 ionic2 tabs

I already set proxy using set proxy=[http://xxx.xxx.xxx.xxx](http://xxx.xxx.xxx.xxx):xx

Error Log

C:\Users\58690\>ionic start --v2 ionic2 tabs  
Creating Ionic app in folder C:\Users\58690\ionic2 based on tabs project  
Downloading: [https://github.com/driftyco/ionic2-app-base/archive/master.zip](https://github.com/driftyco/ionic2-app-base/archive/master.zip)  
[=============================] 100% 0.0s  
Downloading: [https://github.com/driftyco/ionic2-starter-tabs/archive/master.zip](https://github.com/driftyco/ionic2-starter-tabs/archive/master.zip)  
[=============================] 100% 0.0s  
Installing npm packages…  
npm WARN peerDependencies The peer dependency @angular/tsc-wrapped@\* included fr  
om @ionic/app-scripts will no  
npm WARN peerDependencies longer be automatically installed to fulfill the peerD  
ependency  
npm WARN peerDependencies in npm 3+. Your application will need to depend on it  
explicitly.  
npm WARN peerDependencies The peer dependency rxjs@\* included from @ionic/app-sc  
ripts will no  
npm WARN peerDependencies longer be automatically installed to fulfill the peerD  
ependency  
npm WARN peerDependencies in npm 3+. Your application will need to depend on it  
explicitly.  
npm WARN optional dep failed, continuing fsevents@1.0.17  
/

> node-sass@3.10.1 install C:\Users\58690\ionic2\node\_modules@ionic\app-scripts  
> \node\_modules\node-sass  
> node scripts/install.js

Start downloading binary at [https://github.com/sass/node-sass/releases/download/](https://github.com/sass/node-sass/releases/download/)  
v3.10.1/win32-x64-46\_binding.node  
Cannot download “[https://github.com/sass/node-sass/releases/download/v3.10.1/win](https://github.com/sass/node-sass/releases/download/v3.10.1/win)  
32-x64-46\_binding.node”:

HTTP error 403 Forbidden

Hint: If [github.com](http://github.com) is not accessible in your location  
try setting a proxy via HTTP\_PROXY, e.g.

```
  export HTTP_PROXY=http://example.com:1234

```

or configure npm proxy via

```
  npm config set proxy http://example.com:8080

```

> node-sass@3.10.1 postinstall C:\Users\58690\ionic2\node\_modules@ionic\app-scr  
> ipts\node\_modules\node-sass  
> node scripts/build.js

Building: C:\Program Files\nodejs\node.exe C:\Users\58690\ionic2\node\_modules@i  
onic\app-scripts\node\_modules\node-sass\node\_modules\node-gyp\bin\node-gyp.js re  
build --verbose --libsass\_ext= --libsass\_cflags= --libsass\_ldflags= --libsass\_li  
brary=  
gyp info it worked if it ends with ok  
gyp verb cli [ ‘C:\Program Files\nodejs\node.exe’,  
gyp verb cli ‘C:\Users\58690\ionic2\node\_modules\@ionic\app-scripts\nod  
e\_modules\node-sass\node\_modules\node-gyp\bin\node-gyp.js’,  
gyp verb cli ‘rebuild’,  
gyp verb cli ‘–verbose’,  
gyp verb cli ‘–libsass\_ext=’,  
gyp verb cli ‘–libsass\_cflags=’,  
gyp verb cli ‘–libsass\_ldflags=’,  
gyp verb cli ‘–libsass\_library=’ ]  
gyp info using node-gyp@3.4.0  
gyp info using node@4.3.0 | win32 | x64  
gyp verb command rebuild   
gyp verb command clean   
gyp verb clean removing “build” directory  
gyp verb command configure   
gyp verb check python checking for Python executable “python2” in the PATH  
gyp verb `which` failed Error: not found: python2  
gyp verb `which` failed at getNotFoundError (C:\Users\58690\ionic2\node\_modu  
les@ionic\app-scripts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules  
\which\which.js:13:12)  
gyp verb `which` failed at F (C:\Users\58690\ionic2\node\_modules@ionic\app-  
scripts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\which.js  
:68:19)  
gyp verb `which` failed at E (C:\Users\58690\ionic2\node\_modules@ionic\app-  
scripts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\which.js  
:80:29)  
gyp verb `which` failed at C:\Users\58690\ionic2\node\_modules@ionic\app-scr  
ipts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\which.js:89  
:16  
gyp verb `which` failed at C:\Users\58690\ionic2\node\_modules@ionic\app-scr  
ipts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\node\_module  
s\isexe\index.js:44:5  
gyp verb `which` failed at C:\Users\58690\ionic2\node\_modules@ionic\app-scr  
ipts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\node\_module  
s\isexe\windows.js:29:5  
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:82:15)  
gyp verb `which` failed python2 { [Error: not found: python2] code: ‘ENOENT’ }  
gyp verb check python checking for Python executable “python” in the PATH  
gyp verb `which` failed Error: not found: python  
gyp verb `which` failed at getNotFoundError (C:\Users\58690\ionic2\node\_modu  
les@ionic\app-scripts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules  
\which\which.js:13:12)  
gyp verb `which` failed at F (C:\Users\58690\ionic2\node\_modules@ionic\app-  
scripts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\which.js  
:68:19)  
gyp verb `which` failed at E (C:\Users\58690\ionic2\node\_modules@ionic\app-  
scripts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\which.js  
:80:29)  
gyp verb `which` failed at C:\Users\58690\ionic2\node\_modules@ionic\app-scr  
ipts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\which.js:89  
:16  
gyp verb `which` failed at C:\Users\58690\ionic2\node\_modules@ionic\app-scr  
ipts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\node\_module  
s\isexe\index.js:44:5  
gyp verb `which` failed at C:\Users\58690\ionic2\node\_modules@ionic\app-scr  
ipts\node\_modules\node-sass\node\_modules\node-gyp\node\_modules\which\node\_module  
s\isexe\windows.js:29:5  
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:82:15)  
gyp verb `which` failed python { [Error: not found: python] code: ‘ENOENT’ }  
gyp verb could not find “python”. checking python launcher  
gyp verb could not find “python”. guessing location  
gyp verb ensuring that file exists: C:\Python27\python.exe  
gyp ERR! configure error  
gyp ERR! stack Error: Can’t find Python executable “python”, you can set the PYT  
HON env variable.  
gyp ERR! stack at failNoPython (C:\Users\58690\ionic2\node\_modules@ionic\ap  
p-scripts\node\_modules\node-sass\node\_modules\node-gyp\lib\configure.js:449:14)  
gyp ERR! stack at C:\Users\58690\ionic2\node\_modules@ionic\app-scripts\node  
\_modules\node-sass\node\_modules\node-gyp\lib\configure.js:404:11  
gyp ERR! stack at C:\Users\58690\ionic2\node\_modules@ionic\app-scripts\node  
\_modules\node-sass\node\_modules\node-gyp\node\_modules\graceful-fs\polyfills.js:2  
84:29  
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)  
gyp ERR! System Windows\_NT 6.1.7601  
gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Users\58690\ionic2  
\node\_modules\@ionic\app-scripts\node\_modules\node-sass\node\_modules\node  
-gyp\bin\node-gyp.js” “rebuild” “–verbose” “–libsass\_ext=” “–libsass\_cflags  
=” “–libsass\_ldflags=” “–libsass\_library=”  
gyp ERR! cwd C:\Users\58690\ionic2\node\_modules@ionic\app-scripts\node\_modules  
node-sass  
gyp ERR! node -v v4.3.0  
gyp ERR! node-gyp -v v3.4.0  
gyp ERR! not ok  
Build failed  
npm ERR! Windows\_NT 6.1.7601  
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\  
node\_modules\npm\bin\npm-cli.js” “install”  
npm ERR! node v4.3.0  
npm ERR! npm v2.14.12  
npm ERR! code ELIFECYCLE

npm ERR! node-sass@3.10.1 postinstall: `node scripts/build.js`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the node-sass@3.10.1 postinstall script ‘node scripts/build.j  
s’.  
npm ERR! This is most likely a problem with the node-sass package,  
npm ERR! not with npm itself.  
npm ERR! Tell the author that this fails on your system:  
npm ERR! node scripts/build.js  
npm ERR! You can get their info via:  
npm ERR! npm owner ls node-sass  
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:  
npm ERR! C:\Users\58690\ionic2\npm-debug.log  
Error with start undefined  
Error Initializing app: There was an error with the spawned command: npminstall  
There was an error with the spawned command: npminstall

\*\*

## Also not working

\*\*

> ionic serve

Error Log

0 info it worked if it ends with ok  
1 verbose cli [ ‘C:\Program Files\nodejs\node.exe’,  
1 verbose cli ‘C:\Program Files\nodejs\node\_modules\npm\bin\npm-cli.js’,  
1 verbose cli ‘run’,  
1 verbose cli ‘ionic:serve’,  
1 verbose cli ‘–’,  
1 verbose cli ‘–v2’,  
1 verbose cli ‘–address’,  
1 verbose cli ‘0.0.0.0’,  
1 verbose cli ‘–port’,  
1 verbose cli ‘8100’,  
1 verbose cli ‘–livereload-port’,  
1 verbose cli ‘35729’ ]  
2 info using npm@2.14.12  
3 info using node@v4.3.0  
4 verbose run-script [‘preionic:serve’, ‘ionic:serve’, ‘postionic:serve’]  
5 info preionic:serve ionic-app-base@  
6 info ionic:serve ionic-app-base@  
7 verbose unsafe-perm in lifecycle true  
8 info ionic-app-base@ Failed to exec ionic:serve script  
9 verbose stack Error: ionic-app-base@ ionic:serve: `ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"`  
9 verbose stack Exit status 1  
9 verbose stack at EventEmitter. (C:\Program Files\nodejs\node\_modules\npm\lib\utils\lifecycle.js:214:16)  
9 verbose stack at emitTwo (events.js:87:13)  
9 verbose stack at EventEmitter.emit (events.js:172:7)  
9 verbose stack at ChildProcess. (C:\Program Files\nodejs\node\_modules\npm\lib\utils\spawn.js:24:14)  
9 verbose stack at emitTwo (events.js:87:13)  
9 verbose stack at ChildProcess.emit (events.js:172:7)  
9 verbose stack at maybeClose (internal/child\_process.js:821:16)  
9 verbose stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:211:5)  
10 verbose pkgid ionic-app-base@  
11 verbose cwd D:\ionic2\myAwesomeApp  
12 error Windows\_NT 6.1.7601  
13 error argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node\_modules\npm\bin\npm-cli.js” “run” “ionic:serve” “–” “–v2” “–address” “0.0.0.0” “–port” “8100” “–livereload-port” “35729”  
14 error node v4.3.0  
15 error npm v2.14.12  
16 error code ELIFECYCLE  
17 error ionic-app-base@ ionic:serve: `ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"`  
17 error Exit status 1  
18 error Failed at the ionic-app-base@ ionic:serve script ‘ionic-app-scripts serve “–v2” “–address” “0.0.0.0” “–port” “8100” “–livereload-port” “35729”’.  
18 error This is most likely a problem with the ionic-app-base package,  
18 error not with npm itself.  
18 error Tell the author that this fails on your system:  
18 error ionic-app-scripts serve “–v2” “–address” “0.0.0.0” “–port” “8100” “–livereload-port” “35729”  
18 error You can get their info via:  
18 error npm owner ls ionic-app-base  
18 error There is likely additional logging output above.  
19 verbose exit [1, true]
