Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work in Windows #4

Open
trajano opened this issue Feb 15, 2019 · 0 comments
Open

Does not work in Windows #4

trajano opened this issue Feb 15, 2019 · 0 comments

Comments

@trajano
Copy link

trajano commented Feb 15, 2019

C:\p>npm i -g create-new-cli
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated [email protected]: This version is no longer maintained. Please upgrade to the latest version.
C:\Users\trajano\AppData\Roaming\npm\create-new-cli -> C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\bin\cli.js

> [email protected] install C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\nodegit
> node lifecycleScripts/preinstall && node lifecycleScripts/install

[nodegit] Running pre-install script
[nodegit] Running install script
node-pre-gyp ERR! Tried to download(403): https://nodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.18.3-node-v67-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://nodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.18.3-node-v67-win32-x64.tar.gz
node-pre-gyp
ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
gyp
ERR! configure error
gyp ERR! gypconfigure error
ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack     at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:159:21)
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
gypgyp  ERR!ERR!  Systemstack Windows_NT 10.0.17763
     at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:159:21)
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\trajano\\AppData\\Roaming\\npm\\node_modules\\create-new-cli\\node_modules\\nodegit\\build\\Release\\nodegit.node" "--module_name=nodegit" "--module_path=C:\\Users\\trajano\\AppData\\Roaming\\npm\\node_modules\\create-new-cli\\node_modules\\nodegit\\build\\Release"
gypgyp  ERR!ERR!  System Windows_NT 10.0.17763
cwd C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\nodegit
gypgyp  ERR!ERR! node -v v11.7.0
 commandgyp ERR! "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\trajano\\AppData\\Roaming\\npm\\node_modules\\create-new-cli\\node_modules\\nodegit\\build\\Release\\nodegit.node" "--module_name=nodegit" "--module_path=C:\\Users\\trajano\\AppData\\Roaming\\npm\\node_modules\\create-new-cli\\node_modules\\nodegit\\build\\Release"
 node-gyp -v v3.8.0
gypgyp  ERR!ERR!  cwd C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\nodegit
gyp ERR!not ok node -v v11.7.0

gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR!
stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\nodegit\build\Release\nodegit.node --module_name=nodegit --module_path=C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\nodegit\build\Release' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:188:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:978:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Windows_NT 10.0.17763
node-pre-gyp
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\nodegit\build\Release\nodegit.node --module_name=nodegit --module_path=C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\nodegit\build\Release' (1)
ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\trajano\\AppData\\Roaming\\npm\\node_modules\\create-new-cli\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\trajano\AppData\Roaming\npm\node_modules\create-new-cli\node_modules\nodegit
node-pre-gyp ERR! node -v v11.7.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
[nodegit] ERROR - Could not finish install
[nodegit] ERROR - finished with error code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant