gragland / chatgpt-chrome-extension

A ChatGPT Chrome extension. Integrates ChatGPT into every text box on the internet.
MIT License
2.85k stars 469 forks source link

Create .env on Mac Ventura 13.0 #23

Closed Chazay closed 1 year ago

Chazay commented 1 year ago

Hello, I am looking for a little help when creating the .env file. I did all the correct installs with npm yet I did not get a .env-example file in the install. And MacOS is not allowing me to create a .env file using TextEdit and the markdown(?) information provided in here: https://github.com/gragland/chatgpt-chrome-extension/blob/main/.env.example

I am not really great at coding-related things and would like some help in the right direction. Thanks!

ahayat2806 commented 1 year ago

Having the same issue here; Apparently folders beginning with a '.' on Mac are illegal as they are reserved for system files.

image

Perhaps I can edit the path declared in 'server.js'? I'll let you know if it works.

theHowda commented 1 year ago

I would also appreciate a help on that

taktikz commented 1 year ago

In Finder, show hidden files; in this case, simply the .env file with the requested/updated info.

maurop123 commented 1 year ago

Maybe try renaming ".env.example" as something other than a dotfile (e.g. "env.example"), edit it, and then rename it back

gragland commented 1 year ago

I would recommend using a code editor, such as VS code, that shows all the files in a directory including those that are hidden.