Kevin Fosse

Results 7 comments of Kevin Fosse

@junhoyeo Using "threads-api": "^1.3.1", In React 18.2.0 ERROR in ./node_modules/mime-types/index.js 15:14-37 Module not found: Error: Can't resolve 'path' in 'C:\Users\kevinf\Desktop\threads\testv2\node_modules\mime-types' BREAKING CHANGE: webpack < 5 used to include polyfills for...

I don't know if it can help you but in your thread-api package.json i don't see "fs" ![image](https://github.com/junhoyeo/threads-api/assets/43086534/dd5984ec-bcf7-410a-b49f-ee73f8ea0ce6)

@junhoyeo I tried the version 1.3.2, Mime-types no longer causes problems. Now i only get the problem with fs

This is the error i got : ERROR in ./node_modules/threads-api/build/threads-api.js 567:21-34 Module not found: Error: Can't resolve 'fs' in 'C:\Users\kevinf\Desktop\threads\testv2\node_modules\threads-api\build' Thanks for your quick fix, will try ASAP

Hello, just a little update, your workaround work ! Thanks you !

@yssf-io @junhoyeo Hi, you can close this issue, I switched to Express on the backend to use threads-api and React on the frontend, it seems to work better, no 'fs'...