@stepnoy
Скомпилированный можно. Действие "Запустить процесс".
RemoteExecuteScriptSilent.exe
@sergerdn ```
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli 'C:\Program Files\nodejs\node.exe',
npm ERR! gyp verb cli 'C:\Users\explo\AppData\Roaming\BrowserAutomationStudio\apps\26.2.0\e\cache.wPeK\distr\app\node_modules\gl\node_modules\node-gyp\bin\node-gyp.js',
npm ERR! gyp verb cli 'rebuild'
npm ERR! gyp verb cli ]
npm ERR! gyp info using node-gyp@9.4.0
npm ERR! gyp info using node@18.18.0 | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python Python is not set from command line or npm configuration
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp verb find Python - "python3" is not in PATH or produced an error
npm ERR! gyp verb find Python checking if "python" can be used
npm ERR! gyp verb find Python - executing "python" to get executable path
npm ERR! gyp verb find Python - executable path is "C:\Users\explo\AppData\Local\Programs\Python\Python311\python.exe"
npm ERR! gyp verb find Python - executing "C:\Users\explo\AppData\Local\Programs\Python\Python311\python.exe" to get version
npm ERR! gyp verb find Python - version is "3.11.3"
npm ERR! gyp info find Python using Python version 3.11.3 found at "C:\Users\explo\AppData\Local\Programs\Python\Python311\python.exe"
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 18.18.0
npm ERR! gyp verb command install [ '18.18.0' ]
npm ERR! gyp verb install input version string "18.18.0"
npm ERR! gyp verb install installing version: 18.18.0
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version is already installed, need to check "installVersion"
npm ERR! gyp verb got "installVersion" 11
npm ERR! gyp verb needs "installVersion" 11
npm ERR! gyp verb install version is good
npm ERR! gyp verb on Windows; need to check node.lib
npm ERR! gyp verb get node dir target node version installed: 18.18.0
npm ERR! gyp verb build dir attempting to create "build" dir: C:\Users\explo\AppData\Roaming\BrowserAutomationStudio\apps\26.2.0\e\cache.wPeK\distr\app\node_modules\gl\build
npm ERR! gyp verb build dir "build" dir needed to be created? Yes
npm ERR! gyp verb find VS msvs_version not set from command line or npm config
npm ERR! gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp verb find VS checking VS2022 (17.6.33815.320) found at:
npm ERR! gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp verb find VS - found "Visual Studio C++ core features"
npm ERR! gyp verb find VS - missing any VC++ toolset
npm ERR! gyp verb find VS checking VS2022 (17.7.34031.279) found at:
npm ERR! gyp verb find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
npm ERR! gyp verb find VS - found "Visual Studio C++ core features"
npm ERR! gyp verb find VS - missing any VC++ toolset
npm ERR! gyp verb find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp verb find VS looking for Visual Studio 2015
npm ERR! gyp verb find VS - not found
npm ERR! gyp verb find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS checking VS2022 (17.6.33815.320) found at:
npm ERR! gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp ERR! find VS - found "Visual Studio C++ core features"
npm ERR! gyp ERR! find VS - missing any VC++ toolset
npm ERR! gyp ERR! find VS checking VS2022 (17.7.34031.279) found at:
npm ERR! gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
npm ERR! gyp ERR! find VS - found "Visual Studio C++ core features"
npm ERR! gyp ERR! find VS - missing any VC++ toolset
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
@fuckyep said in Запуск модуля на node js:
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
Сделал все, что написано по ссылке и все равно не помогло?
Теперь вылазит такая ошибка:
1 - [763966521] Error: Command failed with exit code 1: ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -sample_fmt s32 -ar 48000 -t 4 -c:a flac -y C:\Users\explo\OneDrive\Desktop\Новая папка\video\editly-tmp-Ot-Q8jtpPGTemF59CUR7s\clip0-audio.flac
"ffmpeg" �� ���� ����७��� ��� ���譥�
��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
@fuckyep said in Запуск модуля на node js:
уже более 2 недель не получается разобраться с этим.
Не факт, что и я смогу решить. Вероятно, смогу, но не 100%.
И я не оказывают услуг в помощи установки скриптов/модулей и так далее за деньги, если эти скрипты написаны не мной.
@fuckyep said in Запуск модуля на node js:
У человека, который делал модуль - работает.
Вероятно, самое разумное, обратится к нему.
@fuckyep said in Запуск модуля на node js:
Теперь вылазит такая ошибка:
1 - [763966521] Error: Command failed with exit code 1: ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -sample_fmt s32 -ar 48000 -t 4 -c:a flac -y C:\Users\explo\OneDrive\Desktop\Новая папка\video\editly-tmp-Ot-Q8jtpPGTemF59CUR7s\clip0-audio.flac"ffmpeg" �� ���� ����७��� ��� ���譥�
��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
ffmpeg стоит на компе? И он есть в PATH?
@sergerdn said in Запуск модуля на node js:
Вероятно, самое разумное, обратится к нему.
Что я и написал в первом посте )
@UserTrue said in Запуск модуля на node js:
Что я и написал в первом посте )
В идеальном мире, конечно, разработчик должен писать документацию по установке вместе со своими скриптами. И в таком же идеальном мире заказчик должен это оплачивать.
Хотя у меня самого был опыт в незапамятные времена, когда заказчик отказался от документации по установке скриптов. Спустя полгода у него сдох сервер, а на новый он перенести не может, так как не знает как.
И бэкапов нет образа сервера, хотя я ему его специально делал, так как нет доков по установке. А он поленился его скачать к себе на компьютер. И бэкап умер вместе с сервером и хостером.
Писал мне письма еще полгода, а я уже и сам не помню, что я там понаделал для него, для меня самого с нуля разбираться надо уже. Доков то нет. И тестов тоже нет, так как заказчик отказался и это оплачивать. А заказчик уже все бизнес процессы завязал на мои скрипты, за которые заплатил вообще-то довольно низкую цену.
Еще спустя полгода заказчик продал свою контору.
Понятно, что это история совсем крайний вариант, и тем не менее.
@UserTrue said in Запуск модуля на node js:
@sergerdn Сомневаюсь, что за 3 дня исполнитель мог пропасть)
Да понятия не имею. Мораль истории, что я написал выше, документация обязана быть.
И исполнительно обязан установить на сервер заказчика результат своей работы. И заказчику совсем не обязательно знать, что с него отдельно взяли на это деньги, так как иначе есть соблазн отказаться и сэкономить.
Каждый последующий программист для заказчика всегда будет дороже, так как опыт растет и у заказчика тоже и ему нужен все более опытный человек.
Вероятно, топикастеру надо или и дальше пытаться делать все самостоятельно или искать человека, кто готов будет сделать за него его задачи за отдельные деньги за "ровно тоже самое, за что он уже заплатил". И, вероятно, платить еще раз и, вероятно, несколько больше.
На форуме искать помощи долго и не прогнозируемо, зато бесплатно.