Coder Social home page Coder Social logo

issue on second run about chatgpt-telegram HOT 5 CLOSED

m1guelpf avatar m1guelpf commented on May 21, 2024
issue on second run

from chatgpt-telegram.

Comments (5)

m1guelpf avatar m1guelpf commented on May 21, 2024 1

Make sure you've copied the included env.example file to .env, and added the required variables (see README).

from chatgpt-telegram.

m1guelpf avatar m1guelpf commented on May 21, 2024 1

hmm, that's very weird, works fine for me 🤔

from chatgpt-telegram.

jcstein avatar jcstein commented on May 21, 2024

It's there and in the right directory 🤔

from chatgpt-telegram.

jcstein avatar jcstein commented on May 21, 2024
jcs @ ~/chatgpt-telegram-Darwin-arm64 % ls -al
total 15728
drwx------@  7 joshstein  staff      224 Dec  4 01:45 .
drwxr-x---+ 66 joshstein  staff     2112 Dec  4 01:46 ..
-rw-r--r--@  1 joshstein  staff       85 Dec  4 01:45 .env
-rw-r--r--   1 joshstein  staff     1069 Dec  3 23:55 LICENSE
-rw-r--r--   1 joshstein  staff      742 Dec  3 23:55 README.md
-rwxr-xr-x@  1 joshstein  staff  8035394 Dec  3 23:55 chatgpt-telegram
-rw-r--r--   1 joshstein  staff       29 Dec  3 23:55 env.example
jcs @ ~/chatgpt-telegram-Darwin-arm64 % cat .env
TELEGRAM_ID=<my-telegram-ID>
TELEGRAM_TOKEN=<my-bot-token>

and the error is still:

/Users/joshstein/chatgpt-telegram-Darwin-arm64/chatgpt-telegram ; exit;         
jcs @ ~ % /Users/joshstein/chatgpt-telegram-Darwin-arm64/chatgpt-telegram ; exit;
2022/12/04 01:48:41 Started ChatGPT
2022/12/04 01:48:41 Couldn't load .env file: open .env: no such file or directory

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

and

jcs @ ~ % sudo /Users/joshstein/chatgpt-telegram-Darwin-arm64/chatgpt-telegram
Password:
2022/12/04 01:52:23 Started ChatGPT
2022/12/04 01:52:23 Couldn't load .env file: open .env: no such file or directory

from chatgpt-telegram.

jcstein avatar jcstein commented on May 21, 2024

odd, ran it in terminal in VS code vs. iTerm or terminal and it worked

205478824-1790c922-48b1-4287-ade4-6391eac39ec3

from chatgpt-telegram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.