如何解决使× ERR未找到:运行npm时使-$(SOURCE_FILES)运行构建命令



我正在尝试运行命令npm run build。我得到错误

`make i info Invoking build target
make i info Invoking dist/build target
(node:15892) UnhandledPromiseRejectionWarning: undefined
(Use `node --trace-warnings ...` to show where the warning was created)
(node:15892) 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:15892) [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-$(SOURCE_FILES)`

请任何人帮我解决这个问题。

我终于解决了安装make命令使用巧克力在我的窗口。我得到错误,因为make没有安装在我的窗口上(我不知道make是窗口的命令而不是NodeJs')。

这篇文章帮助我解决了我的问题。

如何安装和使用"make"在Windows ?

相关内容

  • 没有找到相关文章

最新更新