Ошибка при cartridge build
uriid1 opened this issue · comments
Urii commented
ОS: Arch-based system. Linux 5.15 OS name Manjaro
# node -v
v18.8.0
# npm -v
8.19.1
# tarantool -v
Tarantool 2.10.2-0-gb924f0b4a
# cartridge -v
Tarantool Cartridge CLI
Version: 2.12.2
OS/Arch: linux/amd64
Git commit: 53e6a5b
• Failed to show Cartridge version: Project path . is not a project. See --project-path flag, to specify path to
# docker -v
Docker version 20.10.17, build 100c70180f
# echo $PATH
/home/uriid1/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/uriid1/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
Полный тест ошибки
# cartridge build --verbose
• Build application in /var/lib/tarantool/default
• Running `cartridge.pre-build`
Warning: variable CFLAGS was not passed in build_variables
npm ci
make: npm: Command not found
make: *** [Makefile:7: node_modules] Error 127
Error: Build error: Failed building.
/var/lib/tarantool/default/cartridge.pre-build: 8: [: 2.10.0-0-g0a5ce0b9c: unexpected operator
• Running `tarantoolctl rocks make`
Missing dependencies for try-cartridge scm-1:
analytics scm-1 (not installed)
cartridge-extensions scm-1 (not installed)
crud 0.10.0 (not installed)
try-cartridge scm-1 depends on analytics scm-1 (not installed)
analytics not found for Lua 5.1.
Checking if available for other Lua versions...
Checking for Lua 5.2...
Checking for Lua 5.3...
Checking for Lua 5.4...
Error: Could not satisfy dependency analytics scm-1: No results matching query were found for Lua 5.1.
⨯ Failed to install rocks: Failed to run
/usr/bin/tarantoolctl rocks make
exit status 1
Насколько я понимаю, вся ошибка из-за того, что analytics не видит npm?