gemini-testing / png-img

Lite libpng wrapper for node.js
MIT License
29 stars 13 forks source link

Ошибка установки gemini #30

Closed BykovDenis closed 7 years ago

BykovDenis commented 8 years ago

npm install gemini

png-img@2.1.0 install C:\xampp\htdocs\bootstrap\node_modules\png-img node-gyp rebuild

C:\xampp\htdocs\bootstrap\node_modules\png-img>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) ▒▒▒▒஥▒▒▒ ▒஥▒⮢ ▒ ▒⮬ ▒襭▒▒ ▒▒ ▒▒▒▒▒▒. ▒⮡▒ ▒▒▒▒▒▒▒ ▒▒ࠫ▒▒▒쭮▒ ▒▒▒▒஥▒▒▒, ▒▒▒▒▒▒▒ ▒▒ࠬ▒▒▒ "/m". C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools. [C:\xampp\htdocs\bootstrap\node_modules\png-img\build\third_party\libpng\libpng.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 2010 to build using the Visual Studio 2010 build tools. [C:\xampp\htdocs\bootstrap\node_modules\png-img\build\third_party\zlib\zlib.vcxproj] gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:100:13) gyp ERR! stack at ChildProcess.emit (events.js:185:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Windows_NT 10.0.10586 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\xampp\htdocs\bootstrap\node_modules\png-img gyp ERR! node -v v5.10.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok gulp@1.0.0 C:\xampp\htdocs\bootstrap `-- (empty)

npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14 npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "gemini" npm ERR! node v5.10.0 npm ERR! npm v3.8.3 npm ERR! code ELIFECYCLE

npm ERR! png-img@2.1.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the png-img@2.1.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the png-img 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 information on how to open an issue for this project with: npm ERR! npm bugs png-img npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls png-img npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\xampp\htdocs\bootstrap\npm-debug.log npm ERR! code 1

j0tunn commented 8 years ago
olegdovger commented 7 years ago

I installed gemini on Centos 7 and I needed to preinstall these packages:

yum install -y autoconf \
                   automake \
                   binutils \
                   bison \
                   flex \
                   gcc \
                   gcc-c++ \
                   gettext \
                   libtool \
                   make \
                   patch \
                   pkgconfig \
                   redhat-rpm-config \
                   rpm-build \
                   rpm-sign

Not ensure that all of them need there but it helped me )

j0tunn commented 7 years ago

You need to install MS Visual Studio 2013 Express or later. Take a look at requirements