Can';无法在Windows上创建reasonML项目
我刚开始学习reasonML,我想创建我的第一个项目。我使用Can';无法在Windows上创建reasonML项目,windows,npm,reason,bucklescript,bsb,Windows,Npm,Reason,Bucklescript,Bsb,我刚开始学习reasonML,我想创建我的第一个项目。我使用npm安装-g bs平台在全球范围内安装了bs平台。我想使用命令bsb-init my new project-theme basic reason创建第一个项目,但PowerShell显示以下错误消息: bsb: The term "bsb" is not recognized as a cmdlet name, function, script file, or program executable. Check the spell
npm安装-g bs平台
在全球范围内安装了bs平台
。我想使用命令bsb-init my new project-theme basic reason
创建第一个项目,但PowerShell显示以下错误消息:
bsb: The term "bsb" is not recognized as a cmdlet name, function, script file, or program
executable. Check the spelling of the name, or if a path exists,
verify that the path is correct and try again.
To the line character: 1: 1
+ ~~~
+ CategoryInfo : ObjectNotFound: (bsb:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
是否有其他方法安装
bs平台
?听起来好像npm
配置不正确。我不使用Windows,所以我不能提供太多的细节,但我认为您需要将npm
sbin
文件夹放在您的路径中。谢谢glennsl!我重新安装了nodejs,命令运行正常。