Closed nstarrrr closed 11 months ago
npm install dotenv
import 'dotenv/config'; import './index.js';
Hey @nastarrr! Just deployed https://github.com/junhoyeo/threads-api/releases/tag/v1.4.5, which has this issue fixed. Can you update to the latest version? 🚀
Installing dotenv
to your project manually, like in @MsLolita's solution, will work for previous versions. 👍
Error: Cannot find module 'dotenv/config' Require stack: