Node.js ile yazdığım projeyi exe formatına çeviriyorum bu uyarılar çıkıyor exe formatına çevirmeden sorunsuz çalışıyor fakat exe formatında iken bir anda açılıp kapanıyor Şu hatayı veriyor
pkg/prelude/bootstrap.js:1244 throw error;* * * ^
puppeteer İçin executablePath belirledim Uyarı İçin
executablePath: 'C:/Program Files/Google/Chrome/Application/chrome.exe',
> Warning Cannot resolve 'SESSION_FILE_PATH'
C:\Users\Administrator\Desktop\projem\start.js
Dynamic require may fail at run time, because the requested file
is unknown at compilation time and not included into executable.
Use a string literal as an argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
> Warning Cannot resolve 'Config_Settings_File'
C:\Users\Administrator\Desktop\projem\start.js
Dynamic require may fail at run time, because the requested file
is unknown at compilation time and not included into executable.
Use a string literal as an argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
> Warning Cannot include directory %1 into executable.
The directory must be distributed with executable as %2.
%1: node_modules\puppeteer\.local-chromium
%2: path-to-executable/puppeteer
> Warning Cannot include directory %1 into executable.
The directory must be distributed with executable as %2.
%1: node_modules\puppeteer\.local-chromium
%2: path-to-executable/puppeteer