You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I turned in the autograder and origianlly got 65000 points, then tried to fix it and now its not running on the port. It is also saying that a directory doesnt exist that obviously does (see above). Please help
The text was updated successfully, but these errors were encountered:
Hey @sadye, lets see if we can figure this out. Looking at your file hierarchy, it looks like you don't have the directory './log/'. This is fine if you are creating it and the log file within it in your code, but it looks like you don't check to see if it is there before making the log file at file path './log/access.log' (or wherever you are trying to store the log file). This stands out to me as the potential issue, as if you are trying to create a log file within a directory that doesn't exist, you would be getting some path errors.
Trying using code such as fs.existsSync(<path>) and fs.mkdirSync(<path>) to verify the directory exists and let me know if that helps any!
Hello, I turned in the autograder and origianlly got 65000 points, then tried to fix it and now its not running on the port. It is also saying that a directory doesnt exist that obviously does (see above). Please help
The text was updated successfully, but these errors were encountered: