Cannot get Leiningen commands to work with figwheel

73 views Asked by At

After following the instruction set on https://leiningen.org/ to install Leiningen, I have managed to download the batch file and save it within a folder located in: C:\Users\Dylan\Bin\Lein.bat.

enter image description here

I then ran lein.bat self-install in CMD, which created the folder .lein:

enter image description here

At this point the Leiningen is added. I am then able to create a new project called tictactoe using the command lein new figwheel tictactoe -- --reagent in CMD and it creates the folder fine. However, the problem arises when I try to compile the tictactoe project, see below:

enter image description here

1

There are 1 answers

1
Biped Phill On BEST ANSWER

When I issue the lein new figwheel tictactoe -- --reagent command, it says

Generating fresh 'lein new' figwheel project.

Change into your 'tictactoe' directory

Install npm dependencies via 'npm install'
Then run 'lein figwheel'

Did you do the npm install?