-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS de path hatası #102
Comments
Aynı hata vercel serverless functions üzerinde de oluşuyor. Error: ENOENT: no such file or directory, scandir '/.next/server/app/api/iyzipay/resources' Kimse aws tabanlı serverlarda node versiyonunu kullanmıyor mu acaba? Sadece ben karşılaşıyor olamam herhalde bu sorunla? |
Aynı sorunu ben de localimde yaşıyorum. Kendilerine e-posta ile sorunu ilettim. Eğer bir çözüm önerisi alamazsam üyeliğimi iptal ettireceğim. Çözüm: |
bilgi için teşekkürler. ben de pages klasöründe çalıştırıyorum ama bu klasöre destek birkaç yıl içinde sona erdiğinde, iyzipay-node bir 7 yıl daha güncellenmezse kullanamayabiliriz :). AWS üzerindeki modern servislerin path yapısı sebebiyle hiçbirisinde çalışmıyor. |
birkaç yıl değil, Next.js'de App Router yapısını kullanan biri olarak çoktan bu kütüphanenin kullanımı imkansız hale gelmiş bile :( |
digital ocean da sorunsuz çalışan kod aws lambda da hata veriyor.
Sanırım _initResources function ı path yapısı farklı olduğu için resources a ulaşamıyor.
{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: ENOENT: no such file or directory, scandir '/var/task/resources'","reason":{"errorType":"Error","errorMessage":"ENOENT: no such file or directory, scandir '/var/task/resources'","code":"ENOENT","errno":-2,"syscall":"scandir","path":"/var/task/resources","stack":["Error: ENOENT: no such file or directory, scandir '/var/task/resources'"," at Object.readdirSync (fs.js:1047:3)"," at W._initResources (/var/task/lambda.js:51:7731)"," at new W (/var/task/lambda.js:51:7637)"," at xh (/var/task/lambda.js💯16777)"," at Ia.handle_request (/var/task/lambda.js:28:3673)"," at s (/var/task/lambda.js:28:5676)"," at s (/var/task/lambda.js:28:5643)"," at s (/var/task/lambda.js:28:5643)"," at s (/var/task/lambda.js:28:5643)"," at s (/var/task/lambda.js:28:5643)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: ENOENT: no such file or directory, scandir '/var/task/resources'"," at process.<anonymous> (/var/runtime/index.js:35:15)"," at process.emit (events.js:400:28)"," at processPromiseRejections (internal/process/promises.js:245:33)"," at processTicksAndRejections (internal/process/task_queues.js:96:32)"]}
The text was updated successfully, but these errors were encountered: