Javascript 找不到make x ERR:make-.env在Windows 10上运行make mock

Javascript 找不到make x ERR:make-.env在Windows 10上运行make mock,javascript,node.js,makefile,mocking,pact,Javascript,Node.js,Makefile,Mocking,Pact,我正在尝试在Windows 10计算机上本地运行此操作: 我已经在根目录上安装了npm,然后运行makemocked。 但是,我收到以下错误消息: UnhandledPromiseRejectionWarning: undefined (node:9928) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an as

我正在尝试在Windows 10计算机上本地运行此操作:

我已经在根目录上安装了npm,然后运行
makemocked
。 但是,我收到以下错误消息:

UnhandledPromiseRejectionWarning: undefined
(node:9928) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9928) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
make × ERR  not found: make-.env
我也尝试了这个命令,但出现了相同的错误:
makemocked--debug--unhandledRejections=strict

我还在根目录中输入了一个伪
.env
make-.env
文件,但出现了相同的错误。 此外,根目录上存在
Makefile
,因为我刚刚将repo下载到本地机器上

由于某些原因,我无法通过Stackoverflow或Google找到确切的错误。不确定这是否与我的Windows机器、我正在尝试配置的Pact工具有关,或者与make软件包本身有关,因为我不太熟悉模拟


我还联系了Pact团队,他们提到它应该在本地工作,并且可能与windows路径长度问题有关,但解决方案也不起作用:

我也尝试了这个命令,同样的错误:
我对此感到惊讶。Make不抱怨
--未处理的拒绝
选项?Make不支持该选项,因此我认为这会导致不同的错误。根据上述错误,它建议包括CLI标志
--未处理的拒绝
,但奇怪的是,它仍然是相同的错误。此外,在repo中的一些JS文件上(ProductPage.JS和App.JS),我注释掉了
.catch
函数,但仍然是相同的错误。