Issue with "Make setup" command on Windows in Layer5 project

I’m currently encountering an error while running the make setup command in the Project on Windows. I’m following the contribution guidelines, but it seems that this command is not functioning correctly. Could you please provide guidance on how to resolve this issue? I am getting this
make : The term ‘make’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1

  • make setup
  •   + CategoryInfo          : ObjectNotFound: (make:String) [], CommandNotFoundExc 
     eption
      + FullyQualifiedErrorId : CommandNotFoundException

actually make is a command for linux distro which is equivalent to npm install in windows. It isnt available by default. In order to use make command , you have to install chocolatey in your windows system and then use choco make in your terminal.

Hi Saurav,
Potential solution to fix this issue can be:

Option 1:

Go ahead with running npm install and npm start commands

Option 2:

  • Install chocolatey on your machine: checkout Chocolatey Software | Installing Chocolatey
  • post successfully installing chocolatey on your machine, ensure it by running choco --version
  • Run choco install make in fresh new powershell to install make
  • Ensure if make is successfully installed or not by running make --version

Congratulations, you are all set to run the server then! :tada:

1 Like

@Saurav_Pant suggestions above helped?