2017-12-03 15 views
0

gitを初めて使用するときは管理者adminダッシュボードをインストールしようとしていますが、ルールを守って問題を解決しようとしています。 !私はとても混乱して、何をすべきかわからない、私を助けてくれますか?gitを使用して管理者adminダッシュボードをインストールできない

==> cwd: C:\Users\Zeineb\Adminator\node_modules\better-sqlite3 
==> node-gyp rebuild 
C:\Users\Zeineb\Adminator\node_modules\better-sqlite3>if not defined 
npm_config_node_gyp (node "C:\Users\Zeineb\Adminator\node_modules\better- 
sqlite3\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild) else (node 
"" rebuild) 
Building the projects in this solution one at a time. To enable parallel 
build, please add the "/m" switch. 
unpack_sqlite_dep 
'python' is not recognized as an internal or external command, 
operable program or batch file. 
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): 
error MSB6006: "cmd.exe" exi 
ted with code 1. [C:\Users\Zeineb\Adminator\node_modules\better- 
sqlite3\build\deps\action_before_build.vcxproj] 
gyp ERR! build error 
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` 
failed with exit code: 1 
gyp ERR! stack  at ChildProcess.onExit 
(C:\Users\Zeineb\Adminator\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:\\Users\\Zeineb\\Adminator\\node_modules\\node-gyp\\bin\\node-gyp.js" 
"rebuild" 
gyp ERR! cwd C:\Users\Zeineb\Adminator\node_modules\better-sqlite3 
gyp ERR! node -v v9.2.0 
gyp ERR! node-gyp -v v3.6.2 
gyp ERR! not ok 
Error: exit code 1 
at ChildProcess.<anonymous> (C:\Users\Zeineb\Adminator\node_modules\lzz- 
gyp\lib\exec.js:19:12) 
at ChildProcess.emit (events.js:159:13) 
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12) 

、これが書かれているインストールの最後に:私は窓10を使用しています

npm notice created a lockfile as package-lock.json. You should commit this 
file. 
npm WARN [email protected] requires a peer of [email protected]>=0.2.0 but 
none is installed. You must install peer dependencies yourself. 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] 
(node_modules\fsevents): 
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 
[email protected]: wanted {"os":"darwin","arch":"any"} (current: 
{"os":"win32","arch":"x64"}) 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] 
(node_modules\better-sqlite3): 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] 
install: `node deps/install` 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 

、NPM私はNPMこの出来事までスムーズに行くすべてのものをインストールするタイプ--when

v 5.5.1

+0

[これはソースです](https://github.com/puikinsh/Adminator-admin-dashboard) –

+0

あなたのマシンにはPythonがありますか? – TGrif

+0

はい、私はそれをver 2.7にインストールしました –

答えて

0

解決済み!

私は最初gitでPythonをインストールしようとしましたが、インストールされなかったし、git環境で初心者だったので間違ったことがあったので、ビジュアルスタジオ経由でインストールし、パス環境変数:

1)C:\Python27amd64 
2)C:\Python27amd64\Lib\site-packages\ 
3)C:\Python27amd64\Scripts 

これで、すべてがうまく動いています。@TGrifのおかげで、Pythonのことを再確認できました。

関連する問題