• 20-10-2020, 17:17:13
    #1
    Node.js ile Bir Proje geliştirdim Node.js ye yeni başladığım için Bazı Sorunlarla Karşılaşıyorum Alttaki Hatada Ücretli Ücretsiz Destek verecek arkadaşlar varsa pm veya yorum atabilir
    Destek verecek Kişiden İstediklerim
    Anydesk veya Benzer bir program ile bağlancak
    Projenin Benzerini Kesinlikle Yapmayacak R10 da satışa sunmayacak
    Projeyi ve içerigini Başka bir şahıs ile paylaşmayacak
    (node:5888) UnhandledPromiseRejectionWarning: Error: Passed function is not well-serializable!
    at ExecutionContext._evaluateInternal (C:\Users\Administrator\Desktop\projem\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:195:23)
    at ExecutionContext.evaluate (C:\Users\Administrator\Desktop\projem\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:106:27)
    at DOMWorld.evaluate (C:\Users\Administrator\Desktop\projem\puppeteer\lib\cjs\puppeteer\common\DOMWorld.js:79:24)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    (node:5888) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see [url]https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode[/url]). (rejection id: 3)
    (node:5888) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  • 20-10-2020, 17:21:06
    #2
    nodejs uzmani degilim ama pek spesifik degil sanirim, bakmissinizdir belki ama yinede yazayim eddim : https://stackoverflow.com/questions/...l-serializable
    Uzman arkadaslar cikar muhakkak.
    Kolay gelsin.
  • 20-10-2020, 17:23:15
    #3
    crooper adlı üyeden alıntı: mesajı görüntüle
    nodejs uzmani degilim ama pek spesifik degil sanirim, bakmissinizdir belki ama yinede yazayim eddim : https://stackoverflow.com/questions/...l-serializable
    Uzman arkadaslar cikar muhakkak.
    Kolay gelsin.
    Yinede sağolun hocam evet bakmıştım hatta 10 farklı şekilde hatayı arayıp tek tek tüm sayfalara baktım yok hiç bir şekilde çözmedim proje normal hali ile takır tıkır çalışıyor exe formatına dönderdigim anda hata alıyorum session okumuyor
  • 21-11-2020, 21:31:08
    #4
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Eger evaluate methodu ile ilgili bir sorun yasiyorsaniz, eveluate kullandiginiz kisimlardaki fonksiyonlarinizi external bir js dosyasindan import edip bu dosyayi asset olarak package.json'a eklemeniz yeterli olacagi soylenmis.

    Eger sorun chromium path'i ile alakaliysa,
    const path = require('path')
    const chromePath = path.dirname(__filename, 'chromium')
    const puppeteer = require('puppeteer')
    const browserDownloader = puppeteer.createBrowserFetcher({
        path: chromePath,
    })
    const browserInfo = await browserDownloader.download('809590')
    
    const browser = await puppeteer.launch({
        headless: true,
        executablePath: browserInfo.executablePath,
    })
    seklinde bir cozum munasip gorulmus.