Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

Can't install ionic Error Code 1

$
0
0

@AndionX wrote:

Said@HackerX MINGW32 /
$ npm install -g ionic
npm WARN package.json assert@1.3.0 assert is also the name of a node core module.
npm WARN package.json buffer@3.6.0 buffer is also the name of a node core module.
npm WARN package.json events@1.0.2 events is also the name of a node core module.
npm WARN package.json eyes@0.1.8 No repository field.
npm WARN package.json faye-websocket@0.4.4 'repositories' (plural) Not supported. Please pick one as the 'repository' field
npm WARN package.json indexof@0.0.1 No repository field.
npm WARN package.json punycode@1.4.0 punycode is also the name of a node core module.
npm WARN package.json querystring@0.2.0 querystring is also the name of a node core module.
npm WARN package.json string_decoder@0.10.31 string_decoder is also the name of a node core module.
npm WARN package.json url@0.10.3 url is also the name of a node core module.
npm WARN package.json util@0.10.3 util is also the name of a node core module.
C:\Users\Said\AppData\Roaming\npm\ionic -> C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\bin\ionic

node-sass@3.4.2 install C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass
node scripts/install.js

Cannot download "https://github.com/sass/node-sass/releases/download/v3.4.2/win32-x64-11_binding.node":

tunneling socket could not be established, cause=connect ECONNREFUSED

Hint: If 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.4.2 postinstall C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass
node scripts/build.js

Native thread-sleep not available.
This will result in much slower performance, but it will still work.
Building: C:\Program Files\nodejs\node.exe C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
You should re-install spawn-sync or upgrade to the lastest version of node if possible.
Check C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\spawn-sync\error.log for more details
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\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.2.1
gyp info using node@0.10.36 | 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 "C:Python27python.exe" in the PATH
gyp verb which failed Error: not found: C:Python27python.exe
gyp verb which failed at F (C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\which\which.js:63:19)
gyp verb which failed at E (C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\which\which.js:72:29)
gyp verb which failed at C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\which\which.js:81:16
gyp verb which failed at C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\isexe\index.js:44:5
gyp verb which failed at C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\isexe\windows.js:29:5
gyp verb which failed at Object.oncomplete (fs.js:108:15)
gyp verb which failed C:Python27python.exe [Error: not found: C:Python27python.exe]
gyp verb could not find "C:Python27python.exe". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp verb check python version C:\Python27\python.exe -c "import platform; print(platform.python_version());" returned: "2.7.0\r\n"
gyp verb get node dir no --target version specified, falling back to host node version: 0.10.36
gyp verb command install [ '0.10.36' ]
gyp verb install input version string "0.10.36"
gyp verb install installing version: 0.10.36
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.10.36
gyp verb build dir attempting to create "build" dir: C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build
gyp verb build dir "build" dir needed to be created? C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\config.gypi
gyp verb config.gypi checking for gypi file: C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\config.gypi
gyp verb common.gypi checking for gypi file: C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.exe
gyp info spawn args [ 'C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-gyp\gyp\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=2013',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Said\.node-gyp\0.10.36\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\Said\.node-gyp\0.10.36',
gyp info spawn args '-Dnode_gyp_dir=C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\Said.node-gyp\0.10.36
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp verb "Release" dir needed to be created? null
gyp verb copying "node.lib" for x64 C:\Users\Said.node-gyp\0.10.36\Release\node.lib
gyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 07-02-2016 16:43:01.
Project "C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
Project "C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln" (1) is building "C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) on node 1 (default targets).
Project "C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) is building "C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\src\libsass.vcxproj" (3) on node 1 (default targets).
C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\src\libsass.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
Done Building Project "C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\src\libsass.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.vcxproj.metaproj" (default targets) -- FAILED.
Done Building Project "C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln" (default targets) -- FAILED.

Build FAILED.

"C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln" (default target) (1) ->
"C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.vcxproj.metaproj" (default target) (2) ->
"C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\src\libsass.vcxproj" (default target) (3) ->
C:\Users\Said\AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\src\libsass.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.13
gypBuild failed

npm ERR! node-sass@3.4.2 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.4.2 postinstall script.
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! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "ionic"
npm ERR! cwd C:\Program Files (x86)\Git
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>