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

python3, node and npm: command not found! #609

Open
24karat-gold opened this issue Jan 19, 2025 · 2 comments
Open

python3, node and npm: command not found! #609

24karat-gold opened this issue Jan 19, 2025 · 2 comments
Labels
community report Originally reported by non-contributors question Further information is requested

Comments

@24karat-gold
Copy link

24karat-gold commented Jan 19, 2025

  • timestamp: 2025-01-19T22:25:05+00:00
  • AlgoKit: 2.5.2
  • AlgoKit Python: 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)] (location: C:\Users\aiyan\pipx\venvs\algokit)
  • OS: Windows-11-10.0.26100-SP0
  • docker: 27.4.0
  • docker compose: 2.31.0-desktop.2
  • git: 2.47.1.windows.1
  • python: 3.12.8 (location: C:\Users\24karat-gold\AppData\Local\Programs\Python\Python312\python.EXE)
  • python3: Command not found!
  • pipx: 1.7.1
  • poetry: 2.0.1
  • node: Command not found!
    Node.js is required for some Node.js-based templates;
    install via algokit project bootstrap within project directory, or via:
    https://nodejs.dev/en/learn/how-to-install-nodejs/
  • npm: Command not found!
  • winget: 1.9.25200
@lempira lempira added the question Further information is requested label Jan 27, 2025
@lempira
Copy link
Contributor

lempira commented Jan 27, 2025

@24karat-gold, for python, it looks like you have python 3 on your machine. Window usually uses python to mean python3 and it doesn't create errors. Are you running into any specific errors for not having python3 defined? If so, then I would suggest you create a symlink for python3. Those would be something like mklink [email protected] python.exe

As for Node, are you sure you have Node installed on your machine? If not, you can follow the directions here

@robdmoore
Copy link
Contributor

And worth noting, as long as it finds a suitable version of Python for python if it can't resolve python3 it doesn't matter (which is why that error comes as a warning not an error. Similarly, if node isn't there that's fine if you aren't doing typescript contracts or web apps.

@CiottiGiorgio CiottiGiorgio added the community report Originally reported by non-contributors label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community report Originally reported by non-contributors question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants