我正在创建一个新的 Slack botkit 应用程序,但在安装过程中遇到了问题。
Node.js 和 node-dependency 已正确安装在我的 Windows 7 系统上。
https://github.com/howdyai/botkit
然后第4步,我运行这个命令
c:\bot\botkit > token=REPLACE_THIS_WITH_YOUR_TOKEN node bot.js
(I replaced with my api key.)
在我的命令提示符中它是这样说的:
'token' is not recognized as an internal or external command, operable program or batch file.
我认为这适用于 Linux 或 Mac 命令,那么在 Windows 上如何操作呢?