简体   繁体   中英

Cannot get Leiningen commands to work with figwheel

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.

在此处输入图像描述

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

在此处输入图像描述

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:

在此处输入图像描述

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 ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM