Skip to content

Commit

Permalink
fix err log location for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rphovley committed Nov 1, 2024
1 parent 8f44e8f commit 348ee12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/server/utils/node.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ abstract class BaseNodeUtil implements INodeUtil {
: path.join(__dirname, '..', '..', '..')
BIN_PATH = path.join(this.PROJECT_ROOT, 'bin')
HOME_DIR = os.homedir()

abstract START_ERR_LOG_MESSAGE: string
abstract CODE_CLIMBER_META_DIR: string
abstract DB_PATH: string
Expand Down Expand Up @@ -82,7 +83,7 @@ class WindowsNodeUtil extends BaseNodeUtil {
START_ERR_LOG_MESSAGE: string = pc.red(`
It seems the server is having trouble starting. Run the command in cmd (not powershell)
${pc.white('more ' + this.CODE_CLIMBER_META_DIR + '\\codeclimbers.error.log')}
${pc.white('more ' + this.CODE_CLIMBER_META_DIR + '\\codeclimbers.err.log')}
to investigate the issue further. You can also refer to https://github.com/CodeClimbersIO/cli/blob/release/docs/Troubleshooting.md or message us on our Discord
`)
Expand Down

0 comments on commit 348ee12

Please sign in to comment.