Слияние кода завершено, страница обновится автоматически
↓↓ Укажите вашу используемую среду ↓↓
При выполнении команды установки возникает ошибка
npm install --unsafe-perm=true --allow-root
Журнал ошибки:
npm error code 1
npm error path /Users/zhangsan/githubspace/torna/front/node_modules/deasync
npm error command failed
npm error command sh -c node ./build.js
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@3.8.0
npm error gyp info using node@23.6.0 | darwin | arm64
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm error gyp ERR! stack at PythonFinder.failNoPython (/Users/zhangsan/githubspace/torna/front/node_modules/node-gyp/lib/configure.js:484:19)
npm error gyp ERR! stack at PythonFinder.<anonymous> (/Users/zhangsan/githubspace/torna/front/node_modules/node-gyp/lib/configure.js:406:16)
npm error gyp ERR! stack at F (/Users/zhangsan/githubspace/torna/front/node_modules/which/which.js:68:16)
npm error gyp ERR! stack at E (/Users/zhangsan/githubspace/torna/front/node_modules/which/which.js:80:29)
npm error gyp ERR! stack at /Users/zhangsan/githubspace/torna/front/node_modules/which/which.js:89:16
npm error gyp ERR! stack at /Users/zhangsan/githubspace/torna/front/node_modules/isexe/index.js:42:5
npm error gyp ERR! stack at /Users/zhangsan/githubspace/torna/front/node_modules/isexe/mode.js:8:5
npm error gyp ERR! stack at FSReqCallback.oncomplete (node:fs:199:21)
npm error gyp ERR! System Darwin 22.5.0
npm error gyp ERR! command "/usr/local/bin/node" "/Users/zhangsan/githubspace/torna/front/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd /Users/zhangsan/githubspace/torna/front/node_modules/deasync
npm error gyp ERR! node -v v23.6.0
npm error gyp ERR! node-gyp -v v3.8.0