Changing .env breaks glitch

Ok, I am trying to make a discord bot, but seem to be getting stuck very early.
I started with hello-sqlite, and as I go through to make it fit my style, I check if it works, and it doesn’t. I check the logs, and I get this

image

Even rewinding doesn’t work. I opened a new project, and found out that changing .env seems to trigger it.

I erased DISALLOW_WRITE=
I added PATH=./.data/sqlite.db

And it starts spitting out the nonsense. Any help?

Because you should not overwrite the PATH var. Thats will linux will search for executables. Choose a different env name for it.

Oh ok, I have moved to a different project to restart, and nothing else has gone wrong. Is there a way to revert PATH to its original state?

You can try running:

export PATH=/app/bin:/app/.local/bin:/app/node_modules/.bin:/opt/rust/cargo/bin:/opt/swift/usr/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin && refresh

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.