question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Directory option doesn't work: no such file or directory

See original GitHub issue

Hi, I have a folder called: “./server”

and i want to add an .env file in it.

using: directory: server

the build return the next error:

Traceback (most recent call last): File "/create-envfile.py", line 22, in <module> with open(os.path.join(path, directory, file_name), "w") as text_file: FileNotFoundError: [Errno 2] No such file or directory: 'None/server/.env'

Any ideas.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AngelOnFiracommented, Oct 26, 2021

I think this was resolved in #31, could anyone use the version on master and see if this issue persists with your setups? I’m going to close this issue for now, but please re-open it if it still comes up.

1reaction
luizamendescommented, Jun 25, 2021

Same here.

#26 the issue is here

Thanks, I just noticed that and was coming here to state the same.

Read more comments on GitHub >

github_iconTop Results From Across the Web

fatal: Unable to read current working directory: No such file or ...
Your current directory doesn't exist on the master branch. It was deleted when you checked it out. cd .. a few times until...
Read more >
How is "No such file or directory" getting added to my PATH ...
If you just type $PATH , the shell will try to run your PATH as a command, and it's not a command --...
Read more >
“.h: No such file or directory" - 2 Easy fixes to Arduino error
Trying to fix the dreaded "No such file error?" - This short video will show you 2 easy fixes to solving this error....
Read more >
Linux Error: curses.h: No such file or directory Problem Solution
I see the following error when I run make command to install specific software: curses.h: No such file or directory Problem Solution
Read more >
Python FileNotFoundError: [Errno 2] No such file or directory ...
The Python FileNotFoundError: [Errno 2] No such file or directory error is often raised by the os library. This error tells you that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found