Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework npm安装-未在windows 8.1中安装_Ionic Framework - Fatal编程技术网

Ionic framework npm安装-未在windows 8.1中安装

Ionic framework npm安装-未在windows 8.1中安装,ionic-framework,Ionic Framework,我是新来的离子框架和错误时,我试图安装离子 我已经安装了ApacheAnt、nodejs、cordova,但当我试图安装ionic时,它抛出如下错误 操作系统windows 8.1 64位 请指导我安装此设备 \node-sass\build\binding.sln" (default target) (1) -> (_src_\libsass target) -> ..\..\src\libsass\include\sass/base.h(18): fatal error C1

我是新来的离子框架和错误时,我试图安装离子

我已经安装了ApacheAnt、nodejs、cordova,但当我试图安装ionic时,它抛出如下错误

操作系统windows 8.1 64位

请指导我安装此设备

\node-sass\build\binding.sln" (default target) (1) ->
(_src_\libsass target) ->
  ..\..\src\libsass\include\sass/base.h(18): fatal error C1083: Cannot open inc
lude file: 'stdbool.h': No such file or directory [C:\Users\guru.ramachandran\A
ppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln]
  ..\..\src\libsass\include\sass/base.h(18): fatal error C1083: Cannot open inc
lude file: 'stdbool.h': No such file or directory [C:\Users\guru.ramachandran\A
ppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln]
  c:\users\guru.ramachandran\appdata\roaming\npm\node_modules\ionic\node_module
s\node-sass\src\libsass\src\units.hpp(10): error C2668: 'acos' : ambiguous call
 to overloaded function [C:\Users\guru.ramachandran\AppData\Roaming\npm\node_mo
dules\ionic\node_modules\node-sass\build\binding.sln]
  c:\users\guru.ramachandran\appdata\roaming\npm\node_modules\ionic\node_module
s\node-sass\src\libsass\src\ast.hpp(12): fatal error C1083: Cannot open include
 file: 'unordered_map': No such file or directory [C:\Users\guru.ramachandran\A
ppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln]
  c:\users\guru.ramachandran\appdata\roaming\npm\node_modules\ionic\node_module
s\node-sass\src\libsass\src\ast.hpp(12): fatal error C1083: Cannot open include
 file: 'unordered_map': No such file or directory [C:\Users\guru.ramachandran\A
ppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln]
  ..\..\src\libsass\include\sass/values.h(5): fatal error C1083: Cannot open in
clude file: 'stdbool.h': No such file or directory [C:\Users\guru.ramachandran\
AppData\Roaming\npm\node_modules\ionic\node_modules\node-sass\build\binding.sln

问题是关于
节点gyp
模块,他们说,该模块要求VS2013-VS2015在其
自述文件中构建组件

选择1

使用Microsoft的 windows生成工具使用

npm安装--全局--生产windows构建工具

从提升的PowerShell或CMD.exe(以 管理员)

选择2

手动安装工具和配置:

Visual C++构建环境:

选项> 1:使用默认安装安装VisualC++生成工具 选择权

选项2:安装Visual Studio 2015(或修改现有 安装过程中,在安装过程中选择VisualC++的常用工具。 这也适用于免费社区和桌面Express 版本

[仅限Windows Vista/7]需要安装.NET Framework 4.5.1 Python2.7(不支持v3.x.x),并运行npm配置集Python python2.7(或参见下面关于指定 正确的Python版本和路径。)

启动cmd,
npm配置设置msvs\u 2015版


来源:

问题是关于
节点gyp
模块的,他们说,此时需要VS2013-VS2015在其
自述文件中构建组件

选择1

使用Microsoft的 windows生成工具使用

npm安装--全局--生产windows构建工具

从提升的PowerShell或CMD.exe(以 管理员)

选择2

手动安装工具和配置:

Visual C++构建环境:

选项> 1:使用默认安装安装VisualC++生成工具 选择权

选项2:安装Visual Studio 2015(或修改现有 安装过程中,在安装过程中选择VisualC++的常用工具。 这也适用于免费社区和桌面Express 版本

[仅限Windows Vista/7]需要安装.NET Framework 4.5.1 Python2.7(不支持v3.x.x),并运行npm配置集Python python2.7(或参见下面关于指定 正确的Python版本和路径。)

启动cmd,
npm配置设置msvs\u 2015版


来源:

尝试使用sudo npm安装-g@MohanGopi该命令不适用于windows。请尝试使用sudo npm安装-g@MohanGopi该命令不适用于windows。