I am trying to build a silex-desktop from the source code. I am facing a lot of issues. Please give details what are the steps to build silex desktop.
For your information I have successfully build a silex web version along with my custom storage plugin without any issues. I am unable to build silex-desktop version
The following is the required dependency list.
I am using the latest node.js version v19.3.0
Python 3.11
node-gyp v9.3.1
Visual Studio C++ build tools (2019, 2022)
Visual Studio Enterprise/preview 2022 installed
I tried different commands to build but without any success.
I have tried many different combinations but without any success.
Errors that I faced
npm ERR! code 7
npm ERR! path D:\WITLine\Projects\Silex\silex-desktop-2.7.33\node_modules\iconv
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@19.3.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.1 found at "C:\Python311\python.exe"
npm ERR! gyp info find VS using VS2019 (16.11.33130.400) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp ERR! UNCAUGHT EXCEPTION
npm ERR! gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
npm ERR! gyp ERR! stack at createConfigFile (D:\WITLine\Projects\Silex\silex-desktop-2.7.33\node_modules\node-gyp\lib\configure.js:117:21)
npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "D:\\nodejs\\node.exe" "D:\\WITLine\\Projects\\Silex\\silex-desktop-2.7.33\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\WITLine\Projects\Silex\silex-desktop-2.7.33\node_modules\iconv
npm ERR! gyp ERR! node -v v19.3.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! Node-gyp failed to build your package.
I am trying to build a silex-desktop from the source code. I am facing a lot of issues. Please give details what are the steps to build silex desktop.
The following is the required dependency list.
I tried different commands to build but without any success.
Set local configurations in
package.json
Commands I tries
I tries with VS 2019 but without any success
I have tried many different combinations but without any success.
Errors that I faced
There were other errors that I faced. I fixed some of them. I want official build steps. I will give you more details upon request