简体   繁体   English

无法让 Leiningen 命令与 figwheel 一起使用

[英]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.按照https://leiningen.org/上的说明安装 Leiningen 后,我设法下载了批处理文件并将其保存在以下文件夹中:C:\Users\Dylan\Bin\Lein.bat。

在此处输入图像描述

I then ran lein.bat self-install in CMD, which created the folder .lein :然后我在 CMD 中运行lein.bat self-install ,它创建了文件夹.lein

在此处输入图像描述

At this point the Leiningen is added.此时添加了 Leiningen。 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.然后,我可以使用命令lein new figwheel tictactoe -- --reagent in CMD 创建一个名为 tictactoe 的新项目,它可以很好地创建文件夹。 However, the problem arises when I try to compile the tictactoe project, see below:但是,当我尝试编译 tictactoe 项目时出现问题,见下文:

在此处输入图像描述

When I issue the lein new figwheel tictactoe -- --reagent command, it says当我发出lein new figwheel tictactoe -- --reagent命令时,它说

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 ?您是否npm install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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