克隆react-admin
存储库后,我正在尝试使本地环境正常工作。我试图按照文档的指导运行make install
和make build
,但这些对我不起作用。
我全局安装make
。并且yarn
,npm
和nodejs
都是最新的。我在Windows-10
上使用Visual Studio Code和PowerShell
终端。这就是我得到的...
make install
返回:
make i info Invoking install target
(node:7316) UnhandledPromiseRejectionWarning: undefined
(node:7316) 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:7316) [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-package.json
make build
返回:
(node:9000) UnhandledPromiseRejectionWarning: undefined
(node:9000) 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:9000) [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-##
我真的很想开始我的
ra fix branch
,所以将不胜感激。希望这只是我的一个简单错误。
有趣的是,make
主要是unix
env的实用工具。因此,在make
环境中运行windows
命令不是直接过程。
NMAKE是Windows的官方替代产品,它将帮助您实现相同的目标。