'.'编译时不被识别为内部或外部命令
最近我探索了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来你的 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 thatmake
can find it (or set the makeSHELL
variable to the path).