-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
can't install node ? #1590
Comments
Do you have python installed? You can't compile node without it. |
What does |
thanks, maybe i should install python firstly @ljharb |
i have installed python2.7.13, then executed tips: bash: make: command not found
nvm: install v5.10.0 failed!
nvm debug
nvm --version: v0.33.2
$SHELL: /usr/bin/bash
$HOME: /c/Users/Administrator
$NVM_DIR: '$HOME/.nvm'
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 4.3.42(5)-release (i686-pc-msys)'
uname -a: 'MINGW32_NT-6.1 2.5.0(0.295/5/3) 2016-03-31 18:26 i686 Msys'
curl: /mingw32/bin/curl, curl 7.47.1 (i686-w64-mingw32) libcurl/7.47.1 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 libssh2/1.7.0 librtmp/2.3
wget: not found
git: /mingw32/bin/git, git version 2.8.1.windows.1
nvm current: none
which node: which: no node in ($HOME/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/mingw32/bin:/usr/bin:$HOME/bin:/c/Python27:/c/Python27/Scripts:/c/sybase/RPL-12_5/bin:/c/sybase/Shared/Sybase Central 4.3:/c/sybase/OCS-12_5/lib3p:/c/sybase/OCS-12_5/dll:/c/sybase/OCS-12_5/bin:/c/sybase/ASE-12_5/dll:/c/sybase/ASE-12_5/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/usr/bin/vendor_perl:/usr/bin/core_perl)
which iojs: which: no iojs in ($HOME/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/mingw32/bin:/usr/bin:$HOME/bin:/c/Python27:/c/Python27/Scripts:/c/sybase/RPL-12_5/bin:/c/sybase/Shared/Sybase Central 4.3:/c/sybase/OCS-12_5/lib3p:/c/sybase/OCS-12_5/dll:/c/sybase/OCS-12_5/bin:/c/sybase/ASE-12_5/dll:/c/sybase/ASE-12_5/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/usr/bin/vendor_perl:/usr/bin/core_perl)
which npm: which: no npm in ($HOME/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/mingw32/bin:/usr/bin:$HOME/bin:/c/Python27:/c/Python27/Scripts:/c/sybase/RPL-12_5/bin:/c/sybase/Shared/Sybase Central 4.3:/c/sybase/OCS-12_5/lib3p:/c/sybase/OCS-12_5/dll:/c/sybase/OCS-12_5/bin:/c/sybase/ASE-12_5/dll:/c/sybase/ASE-12_5/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/usr/bin/vendor_perl:/usr/bin/core_perl)
npm config get prefix: bash: npm: command not found
npm root -g: bash: npm: command not found |
If It seems like you might be in BashOnWindows on Windows 10 - if Have you tried installing node 8? node 5 and 7 are both EOL; so I'd only expect 4, 6, and 8 to work on WSL. |
@zhengjingfa I'm facing the same issue. May i know if you found a fix for this ? |
@mjvid i just install node.exe for win |
That just means you're not using nvm at all, which isn't a solution :-/ |
i install nvm-windows, it can work. @mjvid |
On Windows, I'm going to close this, but I'm happy to keep working through it to get |
@ljharb , so which version of python needs to install on windows? |
@chenyangguang node's own install script governs that; i think python 2.7. If you've run into trouble, would you mind filing a new issue? |
@ljharb , i had installed the node5.8 to fix my version of node.js problem .(through i have install node8.9.3 and npm 5.5, the nvm can't not install node.5.8 ). Anyway it works now. |
Computing checksum with sha256sum
Checksums matched!
$>./configure --prefix=/c/Users/Administrator/.nvm/versions/node/v4.8.4 <
/usr/bin/env: ‘python’: No such file or directory
nvm: install v4.8.4 failed!
The text was updated successfully, but these errors were encountered: