Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/314.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
Python 无法安装atom软件包api蓝图预览_Python_Node.js_Atom Editor_Apiblueprint - Fatal编程技术网

Python 无法安装atom软件包api蓝图预览

Python 无法安装atom软件包api蓝图预览,python,node.js,atom-editor,apiblueprint,Python,Node.js,Atom Editor,Apiblueprint,我已经安装了Python、npm(都添加到路径中),VS 2013,并尝试安装名为api blueprint preview的atom包 PS X:\> apm install api-blueprint-preview Installing api-blueprint-preview to C:\Users\mm\.atom\packages failed runas@1.1.0 install C:\Users\MM~1\AppData\Local\Temp\apm-install-

我已经安装了Python、npm(都添加到路径中),VS 2013,并尝试安装名为api blueprint preview的atom包

PS X:\> apm install api-blueprint-preview

Installing api-blueprint-preview to C:\Users\mm\.atom\packages failed
runas@1.1.0 install C:\Users\MM~1\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas
node-gyp rebuild


C:\Users\MM~1\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas>node "C:\Users\mm\AppData\Local\atom\app-0.179.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
main.cc
runas_win.cc
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(623): error C2039: 'ExternalAsciiStringResource' : is not a member of 'v8::String' (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]
C:\Users\mm\.atom\.node-gyp\.node-gyp\0.21.0\deps\v8\include\v8.h(1809) : see declaration of 'v8::String'
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(623): error C2065: 'ExternalAsciiStringResource' : undeclared identifier (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(623): error C2065: 'resource' : undeclared identifier (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(623): error C2448: 'NanNew' : function-style initializer appears to be a function definition (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(672): warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss of data (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115117-7008-ig28xb\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]
[...] a lot of errors like above [...]
gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\mm\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\apm\\bin\\\\node.exe" "C:\\Users\\mm\\AppData\\Local\\atom\\app-0.179.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\mm\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\mm\\.atom\\.apmrc" "install" "C:\\Users\\MM~1\\AppData\\Local\\Temp\\d-115117-7008-mb9spd\\package.tgz" "--target=0.21.0" "--arch=ia32" "--msvs_version=2013"
npm ERR! node v0.10.35
npm ERR! npm  v2.3.0
npm ERR! code ELIFECYCLE

npm ERR! runas@1.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the runas@1.1.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.
My boxs正在运行Windows 8.1


有什么想法吗?谢谢

软件包的依赖性问题得到了修复