-
Notifications
You must be signed in to change notification settings - Fork 61
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
Module not found: Error: Can't resolve 'fs' in 'C:\Users\algan\OneDrive\Masaüstü\abc\theProject\React\react\node_modules\iyzipay\lib' #105
Comments
@HalilAlgan bu bir backend kütüphanesi, frontendde çalıştıramazsın. |
@log101 NextJS server side desteği de bulunuyor. Ancak orada server component içerisinde de kullanmaya çalıştım yine fs ile ilgili bir hata alıyorum. Bir şekilde çalıştırma imkanı bulamaz mıyız? |
@log101 peki file handling nasıl oluyor o zaman reactta |
Nextjs ile iyzico entegrasyonu çalıştırabildim. Yapmanız gereken nextjs serverless functions tarafına istekte bulunup isteği iyzico ile ilgili tüm işlemleri orada handle etmeniz.Böylelikle talepler server tarafta handle edildiği için herhangi bir problem kalmıyor. |
Nodejs Kütüphanesi backend projeleri için kullanılması önerilir. Kütüphaneyi kullanabilmeniz için size özel api&secret key değerleri bulunduğu için, client side projelerde kullanılmaması önerilir. |
@thornzz merhaba, nasıl çalıştırdığınız konusunda biraz daha bilgi verebilir misiniz? veya sample code varsa incelemek isterim. zira api route üzerinde çalıştırmayı denediğimde Sanıyorum İyzico üyeliğimi 24 saat dolmadan kapattıracağım. Çözüm: |
Module not found: Error: Can't resolve 'fs' hatasi aliyorum Iyzipay.js`te. Yardimci olabilir misiniz. Tesekkurler.
The text was updated successfully, but these errors were encountered: