{"action":"opened","issue":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2880","repository_url":"https://api.github.com/repos/ionic-team/ionic-cli","labels_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2880/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2880/comments","events_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/2880/events","html_url":"https://github.com/ionic-team/ionic-cli/issues/2880","id":273840927,"number":2880,"title":"Unable to create ionic 3 project -- many errors","user":{"login":"avramanaareddy","id":8145899,"avatar_url":"https://avatars2.githubusercontent.com/u/8145899?v=4","gravatar_id":"","url":"https://api.github.com/users/avramanaareddy","html_url":"https://github.com/avramanaareddy","followers_url":"https://api.github.com/users/avramanaareddy/followers","following_url":"https://api.github.com/users/avramanaareddy/following{/other_user}","gists_url":"https://api.github.com/users/avramanaareddy/gists{/gist_id}","starred_url":"https://api.github.com/users/avramanaareddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avramanaareddy/subscriptions","organizations_url":"https://api.github.com/users/avramanaareddy/orgs","repos_url":"https://api.github.com/users/avramanaareddy/repos","events_url":"https://api.github.com/users/avramanaareddy/events{/privacy}","received_events_url":"https://api.github.com/users/avramanaareddy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-14T15:48:27Z","updated_at":"2017-11-14T15:48:27Z","closed_at":null,"author_association":"NONE","body":"$ sudo ionic start myapp sidemenu\r\n\r\n? The directory myapp contains file(s) that could conflict. Would you like to overwrite the directory with\r\n this new project? Yes\r\n✔ Creating directory ./myapp - done!\r\n✔ Downloading and extracting sidemenu starter - done!\r\n✔ Personalizing ionic.config.json and package.json - done!\r\n\r\nInstalling dependencies may take several minutes.\r\n\r\n  ✨   IONIC  DEVAPP  ✨\r\n\r\n Speed up development with the Ionic DevApp, our fast, on-device testing mobile app\r\n\r\n  -  🔑   Test on iOS and Android without Native SDKs\r\n  -  🚀   LiveReload for instant style and JS updates\r\n\r\n ️-->    Install DevApp: https://bit.ly/ionic-dev-app    <--\r\n\r\n> npm i\r\n✖ Running command - failed!\r\n[ERROR] An error occurred while running npm i (exit code 1):\r\n\r\n        \r\n        \r\n        > fsevents@1.1.3 install /Users/venkataavula/Desktop/demo/myapp/node_modules/fsevents\r\n        > node install\r\n        \r\n        [fsevents] Success: \r\n        \"/Users/venkataavula/Desktop/demo/myapp/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node\" \r\n        already installed\r\n        Pass --update-binary to reinstall or --build-from-source to recompile\r\n        \r\n        > node-sass@4.5.3 install /Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass\r\n        > node scripts/install.js\r\n        \r\n        Unable to save binary \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass/vendor/darwin-x64-48 : { Error: \r\n        EACCES: permission denied, mkdir \r\n        '/Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass/vendor'\r\n             at Error (native)\r\n             at Object.fs.mkdirSync (fs.js:924:18)\r\n             at sync (/Users/venkataavula/Desktop/demo/myapp/node_modules/mkdirp/index.js:71:13)\r\n             at Function.sync (/Users/venkataavula/Desktop/demo/myapp/node_modules/mkdirp/index.js:77:24)\r\n             at checkAndDownloadBinary \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass/scripts/install.js:111:11)\r\n             at Object.<anonymous> \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass/scripts/install.js:154:1)\r\n             at Module._compile (module.js:570:32)\r\n             at Object.Module._extensions..js (module.js:579:10)\r\n             at Module.load (module.js:487:32)\r\n             at tryModuleLoad (module.js:446:12)\r\n           errno: -13,\r\n           code: 'EACCES',\r\n           syscall: 'mkdir',\r\n           path: '/Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass/vendor' }\r\n        \r\n        > uglifyjs-webpack-plugin@0.4.6 postinstall \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/uglifyjs-webpack-plugin\r\n        > node lib/post_install.js\r\n        \r\n        \r\n        > node-sass@4.5.3 postinstall /Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass\r\n        > node scripts/build.js\r\n        \r\n        Building: /usr/local/bin/node \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose \r\n        --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=\r\n        gyp info it worked if it ends with ok\r\n        gyp verb cli [ '/usr/local/bin/node',\r\n        gyp verb cli   '/Users/venkataavula/Desktop/demo/myapp/node_modules/node-gyp/bin/node-gyp.js',\r\n        gyp verb cli   'rebuild',\r\n        gyp verb cli   '--verbose',\r\n        gyp verb cli   '--libsass_ext=',\r\n        gyp verb cli   '--libsass_cflags=',\r\n        gyp verb cli   '--libsass_ldflags=',\r\n        gyp verb cli   '--libsass_library=' ]\r\n        gyp info using node-gyp@3.6.2\r\n        gyp info using node@6.11.4 | darwin | x64\r\n        gyp verb command rebuild []\r\n        gyp verb command clean []\r\n        gyp verb clean removing \"build\" directory\r\n        gyp verb command configure []\r\n        gyp verb check python checking for Python executable \"python2\" in the PATH\r\n        gyp verb `which` failed Error: not found: python2\r\n        gyp verb `which` failed     at getNotFoundError \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:13:12)\r\n        gyp verb `which` failed     at F \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:68:19)\r\n        gyp verb `which` failed     at E \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:80:29)\r\n        gyp verb `which` failed     at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:89:16\r\n        gyp verb `which` failed     at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/isexe/index.js:42:5\r\n        gyp verb `which` failed     at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/isexe/mode.js:8:5\r\n        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)\r\n        gyp verb `which` failed  python2 { Error: not found: python2\r\n        gyp verb `which` failed     at getNotFoundError \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:13:12)\r\n        gyp verb `which` failed     at F \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:68:19)\r\n        gyp verb `which` failed     at E \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:80:29)\r\n        gyp verb `which` failed     at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:89:16\r\n        gyp verb `which` failed     at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/isexe/index.js:42:5\r\n        gyp verb `which` failed     at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/isexe/mode.js:8:5\r\n        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:123:15)\r\n        gyp verb `which` failed   stack: 'Error: not found: python2\\n    at getNotFoundError \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:13:12)\\n    at F \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:68:19)\\n    at E \r\n        (/Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:80:29)\\n    at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/which/which.js:89:16\\n    at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/isexe/index.js:42:5\\n    at \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/isexe/mode.js:8:5\\n    at FSReqWrap.oncomplete \r\n        (fs.js:123:15)',\r\n        gyp verb `which` failed   code: 'ENOENT' }\r\n        gyp verb check python checking for Python executable \"python\" in the PATH\r\n        gyp verb `which` succeeded python /usr/bin/python\r\n        gyp verb check python version `/usr/bin/python -c \"import platform; \r\n        print(platform.python_version());\"` returned: \"2.7.10\\n\"\r\n        gyp verb get node dir no --target version specified, falling back to host node version: 6.11.4\r\n        gyp verb command install [ '6.11.4' ]\r\n        gyp verb install input version string \"6.11.4\"\r\n        gyp verb install installing version: 6.11.4\r\n        gyp verb install --ensure was passed, so won't reinstall if already installed\r\n        gyp verb install version is already installed, need to check \"installVersion\"\r\n        gyp verb got \"installVersion\" 9\r\n        gyp verb needs \"installVersion\" 9\r\n        gyp verb install version is good\r\n        gyp verb get node dir target node version installed: 6.11.4\r\n        gyp verb build dir attempting to create \"build\" dir: \r\n        /Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass/build\r\n        gyp ERR! configure error \r\n        gyp ERR! stack Error: EACCES: permission denied, mkdir \r\n        '/Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass/build'\r\n        gyp ERR! stack     at Error (native)\r\n        gyp ERR! System Darwin 17.0.0\r\n        gyp ERR! command \"/usr/local/bin/node\" \r\n        \"/Users/venkataavula/Desktop/demo/myapp/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" \r\n        \"--verbose\" \"--libsass_ext=\" \"--libsass_cflags=\" \"--libsass_ldflags=\" \"--libsass_library=\"\r\n        gyp ERR! cwd /Users/venkataavula/Desktop/demo/myapp/node_modules/node-sass\r\n        gyp ERR! node -v v6.11.4\r\n        gyp ERR! node-gyp -v v3.6.2\r\n        gyp ERR! not ok \r\n        Build failed with error code: 1\r\n        npm ERR! code ELIFECYCLE\r\n        npm ERR! errno 1\r\n        npm ERR! node-sass@4.5.3 postinstall: `node scripts/build.js`\r\n        npm ERR! Exit status 1\r\n        npm ERR! \r\n        npm ERR! Failed at the node-sass@4.5.3 postinstall script.\r\n        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n        \r\n        npm ERR! A complete log of this run can be found in:\r\n        npm ERR!     /Users/venkataavula/.npm/_logs/2017-11-14T15_45_36_938Z-debug.log"}}
{"actor":{"display_login":"avramanaareddy"}}