1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/durcframework-torna

 / Детали:

Установка фронтенда не удалась.

Предстоит сделать
Владелец
Создано  
20.05.2025

Используемая среда

↓↓ Укажите вашу используемую среду ↓↓

  • Версия Torna: 1.32.0
  • Версия Java: 1.8
  • Версия MySQL: 5.7
  • Браузер: Chrome/Edge
  • Версия smart-doc (если используется):
  • Версия плагина Swagger (если используется):

Описание

При выполнении команды установки возникает ошибка

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

Комментарий (0)

GitLife Service Account Задача создана

Вход Перед тем как оставить комментарий

Статус
Ответственный
Контрольная точка
Pull Requests
Связанные запросы на слияние могут быть закрыты после их объединения
Ветки
Дата начала   -   Крайний срок
-
Закрепить/Открепить
Приоритет
Участники(1)
1
https://api.gitlife.ru/oschina-mirror/durcframework-torna.git
git@api.gitlife.ru:oschina-mirror/durcframework-torna.git
oschina-mirror
durcframework-torna
durcframework-torna