Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70763

Problem installing ionic and starting a project

$
0
0

@besitobbb wrote:

? What starter would you like to use: tabs
√ Creating directory .\tobb-technologies - done!
√ Downloading and extracting tabs starter - done!

? Would you like to integrate your new app with Cordova to target native iOS and Android? No
√ Personalizing ionic.config.json and package.json - done!

Installing dependencies may take several minutes.

  • IONIC DEVAPP *

Speed up development with the Ionic DevApp, our fast, on-device testing mobile app

  • Test on iOS and Android without Native SDKs
    
  • LiveReload for instant style and JS updates
    

️–> Install DevApp: https://bit.ly/ionic-dev-app <–

npm i
× Running command - failed!
[ERROR] An error occurred while running npm i (exit code 1):

    > node-sass@4.5.3 install C:\tobb-technologies\node_modules\node-sass
    > node scripts/install.js

    Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-59_binding.node
    Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-59_binding.node":

    HTTP error 404 Not Found

    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

    > uglifyjs-webpack-plugin@0.4.6 postinstall C:\tobb-technologies\node_modules\uglifyjs-webpack-plugin
    > node lib/post_install.js


    > node-sass@4.5.3 postinstall C:\tobb-technologies\node_modules\node-sass
    > node scripts/build.js

    Building: C:\Program Files\nodejs\node.exe C:\tobb-technologies\node_modules\node-gyp\bin\node-gyp.js rebuild
    --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
    gyp info it worked if it ends with ok
    gyp verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
    gyp verb cli   'C:\\tobb-technologies\\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.6.2
    gyp info using node@9.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 "C:\Users\Tobb
    Technologies\AppData\Local\Programs\Python\Python36-32.exe" in the PATH
    gyp verb `which` failed Error: not found: C:\Users\Tobb
    Technologies\AppData\Local\Programs\Python\Python36-32.exe
    gyp verb `which` failed     at getNotFoundError (C:\tobb-technologies\node_modules\which\which.js:13:12)
    gyp verb `which` failed     at F (C:\tobb-technologies\node_modules\which\which.js:68:19)
    gyp verb `which` failed     at E (C:\tobb-technologies\node_modules\which\which.js:80:29)
    gyp verb `which` failed     at C:\tobb-technologies\node_modules\which\which.js:89:16
    gyp verb `which` failed     at C:\tobb-technologies\node_modules\isexe\index.js:42:5
    gyp verb `which` failed     at C:\tobb-technologies\node_modules\isexe\windows.js:36:5
    gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:166:21)
    gyp verb `which` failed  C:\Users\Tobb Technologies\AppData\Local\Programs\Python\Python36-32.exe { Error: not
    found: C:\Users\Tobb Technologies\AppData\Local\Programs\Python\Python36-32.exe
    gyp verb `which` failed     at getNotFoundError (C:\tobb-technologies\node_modules\which\which.js:13:12)
    gyp verb `which` failed     at F (C:\tobb-technologies\node_modules\which\which.js:68:19)
    gyp verb `which` failed     at E (C:\tobb-technologies\node_modules\which\which.js:80:29)
    gyp verb `which` failed     at C:\tobb-technologies\node_modules\which\which.js:89:16
    gyp verb `which` failed     at C:\tobb-technologies\node_modules\isexe\index.js:42:5
    gyp verb `which` failed     at C:\tobb-technologies\node_modules\isexe\windows.js:36:5
    gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:166:21)
    gyp verb `which` failed   stack: 'Error: not found: C:\\Users\\Tobb
    Technologies\\AppData\\Local\\Programs\\Python\\Python36-32.exe\n    at getNotFoundError
    (C:\\tobb-technologies\\node_modules\\which\\which.js:13:12)\n    at F
    (C:\\tobb-technologies\\node_modules\\which\\which.js:68:19)\n    at E
    (C:\\tobb-technologies\\node_modules\\which\\which.js:80:29)\n    at
    C:\\tobb-technologies\\node_modules\\which\\which.js:89:16\n    at
    C:\\tobb-technologies\\node_modules\\isexe\\index.js:42:5\n    at
    C:\\tobb-technologies\\node_modules\\isexe\\windows.js:36:5\n    at FSReqWrap.oncomplete (fs.js:166:21)',
    gyp verb `which` failed   code: 'ENOENT' }
    gyp verb could not find "C:\Users\Tobb Technologies\AppData\Local\Programs\Python\Python36-32.exe". checking
    python launcher
    gyp verb check python launcher python executable found: "C:\\Python27\\python.exe"
    gyp verb check python version `C:\Python27\python.exe -c "import platform; print(platform.python_version());"`
    returned: "2.7.4\r\n"
    gyp verb get node dir no --target version specified, falling back to host node version: 9.3.0
    gyp verb command install [ '9.3.0' ]
    gyp verb install input version string "9.3.0"
    gyp verb install installing version: 9.3.0
    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: 9.3.0
    gyp verb build dir attempting to create "build" dir: C:\tobb-technologies\node_modules\node-sass\build
    gyp verb build dir "build" dir needed to be created? C:\tobb-technologies\node_modules\node-sass\build
    gyp verb Not using VS2017: Could not use PowerShell to find VS2017
    gyp verb build/config.gypi creating config file
    gyp verb build/config.gypi writing out config file:
    C:\tobb-technologies\node_modules\node-sass\build\config.gypi
    gyp verb config.gypi checking for gypi file: C:\tobb-technologies\node_modules\node-sass\config.gypi
    gyp verb common.gypi checking for gypi file: C:\tobb-technologies\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:\\tobb-technologies\\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=auto',
    gyp info spawn args   '-I',
    gyp info spawn args   'C:\\tobb-technologies\\node_modules\\node-sass\\build\\config.gypi',
    gyp info spawn args   '-I',
    gyp info spawn args   'C:\\tobb-technologies\\node_modules\\node-gyp\\addon.gypi',
    gyp info spawn args   '-I',
    gyp info spawn args   'C:\\Users\\Tobb Technologies\\.node-gyp\\9.3.0\\include\\node\\common.gypi',
    gyp info spawn args   '-Dlibrary=shared_library',
    gyp info spawn args   '-Dvisibility=default',
    gyp info spawn args   '-Dnode_root_dir=C:\\Users\\Tobb Technologies\\.node-gyp\\9.3.0',
    gyp info spawn args   '-Dnode_gyp_dir=C:\\tobb-technologies\\node_modules\\node-gyp',
    gyp info spawn args   '-Dnode_lib_file=C:\\Users\\Tobb
    Technologies\\.node-gyp\\9.3.0\\<(target_arch)\\node.lib',
    gyp info spawn args   '-Dmodule_root_dir=C:\\tobb-technologies\\node_modules\\node-sass',
    gyp info spawn args   '-Dnode_engine=v8',
    gyp info spawn args   '--depth=.',
    gyp info spawn args   '--no-parallel',
    gyp info spawn args   '--generator-output',
    gyp info spawn args   'C:\\tobb-technologies\\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\Tobb Technologies\.node-gyp\9.3.0
    gyp verb found first Solution file build/binding.sln
    gyp verb `which` succeeded for `msbuild` C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.EXE
    gyp info spawn msbuild
    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 12/31/2017 6:55:10 PM.
    Project "C:\tobb-technologies\node_modules\node-sass\build\binding.sln" on node 1 (default targets).
    ValidateSolutionConfiguration:
       Building solution configuration "Release|x64".
    Project "C:\tobb-technologies\node_modules\node-sass\build\binding.sln" (1) is building
    "C:\tobb-technologies\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) on node 1 (default targets).
    Project "C:\tobb-technologies\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) is building
    "C:\tobb-technologies\node_modules\node-sass\build\src\libsass.vcxproj" (3) on node 1 (default targets).
    C:\tobb-technologies\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 <Import> declaration is correct,
    and that the file exists on disk.
    Done Building Project "C:\tobb-technologies\node_modules\node-sass\build\src\libsass.vcxproj" (default targets)
    -- FAILED.
    Done Building Project "C:\tobb-technologies\node_modules\node-sass\build\binding.vcxproj.metaproj" (default
    targets) -- FAILED.
    Done Building Project "C:\tobb-technologies\node_modules\node-sass\build\binding.sln" (default targets) --
    FAILED.

    Build FAILED.

    "C:\tobb-technologies\node_modules\node-sass\build\binding.sln" (default target) (1) ->
    "C:\tobb-technologies\node_modules\node-sass\build\binding.vcxproj.metaproj" (default target) (2) ->
    "C:\tobb-technologies\node_modules\node-sass\build\src\libsass.vcxproj" (default target) (3) ->
       C:\tobb-technologies\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 <Import> declaration is
    correct, and that the file exists on disk.

         0 Warning(s)
         1 Error(s)

    Time Elapsed 00:00:02.71
    gyp ERR! build error
    gyp ERR! stack Error: `msbuild` failed with exit code: 1
    gyp ERR! stack     at ChildProcess.onExit (C:\tobb-technologies\node_modules\node-gyp\lib\build.js:258:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:159:13)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
    gyp ERR! System Windows_NT 10.0.15063
    gyp ERR! command "C:\\Program Files\\nodejs\\node.exe"
    "C:\\tobb-technologies\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext="
    "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
    gyp ERR! cwd C:\tobb-technologies\node_modules\node-sass
    gyp ERR! node -v v9.3.0
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok
    Build failed with error code: 1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted
    {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! node-sass@4.5.3 postinstall: `node scripts/build.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the node-sass@4.5.3 postinstall script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\Tobb Technologies\AppData\Roaming\npm-cache\_logs\2017-12-31T16_55_26_976Z-debug.log

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70763

Trending Articles



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