'.'编译时不被识别为内部或外部命令

发布于 2025-01-09 09:14:02 字数 3316 浏览 0 评论 0原文

最近我探索了 jitsi meet 的最新版本,并尝试构建该应用程序。 但是,在 Windows 10 上使用 make 编译 makefile 后,我收到错误 '.'不被识别为内部或外部命令、可运行程序或批处理文件。

这是编译时的错误消息:

> [email protected] build
> webpack -p

[BABEL] Note: The code generator has deoptimised the styling of G:\Project\Digi46Meet\jitsi-meet-master\node_modules\lodash\lodash.js as it exceeds the max of 500KB.
Hash: e8ebfddcdcd744634d50
Version: webpack 4.43.0   
Child
    Hash: e8ebfddcdcd744634d50
    Time: 29243ms
    Built at: 02/22/2022 15:25:25
                            Asset     Size  Chunks                   Chunk Names
     load-test-participant.min.js  221 KiB       0  [emitted]        load-test-participant
    load-test-participant.min.map  1.1 MiB       0  [emitted] [dev]  load-test-participant
    Entrypoint load-test-participant = load-test-participant.min.js load-test-participant.min.map
     [4] G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/logging/LogTransport.web.js 0 bytes {0} [built]
     [5] (webpack)/buildin/global.js 475 bytes {0} [built]
    [12] (webpack)/buildin/amd-options.js 80 bytes {0} [built]
    [13] (webpack)/buildin/module.js 546 bytes {0} [built]
    [15] G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/lib-jitsi-meet/_.web.js 27 bytes {0} [built]
    [16] ./load-test-participant.js + 28 modules 83.2 KiB {0} [built]
         | ./load-test-participant.js 11.3 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/parseURLParams.js 1.68 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/uri.js 16.7 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/functions.web.js 2.21 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/lastn/functions.js 2.78 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/constants.js 1.21 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/helpers.js 5.59 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/strings.web.js 631 bytes [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/functions.any.js 8.73 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/video-quality/constants.js 755 bytes [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/index.js 178 bytes [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/configWhitelist.js 5.69 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/interfaceConfigWhitelist.js 1.42 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/logger.js 99 bytes [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/getRoomName.js 389 bytes [built]
         |     + 14 hidden modules
        + 11 hidden modules
./node_modules/.bin/webpack
'.' is not recognized as an internal or external command,
operable program or batch file.
make: *** [Makefile:23: compile] Error 1

Recently I exploring jitsi meet with the latest version, and I try to build the application.
But, after compiling makefile using make on Windows 10, I got an error '.' is not recognized as an internal or external command,operable program or batch file.

Here is error message while compiling:

> [email protected] build
> webpack -p

[BABEL] Note: The code generator has deoptimised the styling of G:\Project\Digi46Meet\jitsi-meet-master\node_modules\lodash\lodash.js as it exceeds the max of 500KB.
Hash: e8ebfddcdcd744634d50
Version: webpack 4.43.0   
Child
    Hash: e8ebfddcdcd744634d50
    Time: 29243ms
    Built at: 02/22/2022 15:25:25
                            Asset     Size  Chunks                   Chunk Names
     load-test-participant.min.js  221 KiB       0  [emitted]        load-test-participant
    load-test-participant.min.map  1.1 MiB       0  [emitted] [dev]  load-test-participant
    Entrypoint load-test-participant = load-test-participant.min.js load-test-participant.min.map
     [4] G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/logging/LogTransport.web.js 0 bytes {0} [built]
     [5] (webpack)/buildin/global.js 475 bytes {0} [built]
    [12] (webpack)/buildin/amd-options.js 80 bytes {0} [built]
    [13] (webpack)/buildin/module.js 546 bytes {0} [built]
    [15] G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/lib-jitsi-meet/_.web.js 27 bytes {0} [built]
    [16] ./load-test-participant.js + 28 modules 83.2 KiB {0} [built]
         | ./load-test-participant.js 11.3 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/parseURLParams.js 1.68 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/uri.js 16.7 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/functions.web.js 2.21 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/lastn/functions.js 2.78 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/constants.js 1.21 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/helpers.js 5.59 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/strings.web.js 631 bytes [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/functions.any.js 8.73 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/video-quality/constants.js 755 bytes [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/index.js 178 bytes [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/configWhitelist.js 5.69 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/interfaceConfigWhitelist.js 1.42 KiB [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/logger.js 99 bytes [built]
         | G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/getRoomName.js 389 bytes [built]
         |     + 14 hidden modules
        + 11 hidden modules
./node_modules/.bin/webpack
'.' is not recognized as an internal or external command,
operable program or batch file.
make: *** [Makefile:23: compile] Error 1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南笙 2025-01-16 09:14:02

看起来你的 makefile 正在调用 cmd.exe 作为 shell,并且它无法解析像 ./... 这样使用正斜杠而不是反斜杠作为目录分隔符。

您要么必须编写 make 配方以使用 cmd.exe 语法,要么在系统上 make 可以找到它的地方安装 POSIX shell(或者设置将 SHELL 变量添加到路径中)。

Looks like your makefile is invoking cmd.exe as the shell, and it's not able to parse the POSIX-style paths like ./... that use forward slashes instead of backslashes as directory separators.

You'll either have to write your make recipes to use cmd.exe syntax, or else install a POSIX shell on your system somewhere that make can find it (or set the make SHELL variable to the path).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文