Skip to content

Commit bf5bd96

Browse files
committed
👌 IMPROVE: Error message
1 parent 9ad8a3d commit bf5bd96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎packages/core/src/utils/local-server-running.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export async function isLocalServerRunning(): Promise<Boolean> {
99
cache: 'no-cache', // Prevents caching of the request
1010
});
1111

12-
const portUseError = `\nPort 9000 is already in use. \nTerminate the process running on it. \nRun npx baseai@latest dev in an new terminal to start the dev server.\n`;
12+
const portUseError = `\nPort 9000 is already in use. \nTerminate the process running on it. \nRun "npx baseai@latest dev" in an new terminal to start the dev server.\n`;
1313

1414
if (!response.ok) {
1515
console.error(portUseError);
@@ -29,7 +29,7 @@ export async function isLocalServerRunning(): Promise<Boolean> {
2929
} catch (error) {
3030
// Port is not in use and BaseAI dev server is not running
3131
console.error(
32-
`\nBaseAI dev server is not running. \nPlease run npx baseai@latest dev in a new teriminal to start dev server.\n`,
32+
`\nBaseAI dev server is not running. \nPlease run "npx baseai@latest dev" in a new teriminal to start dev server.\n`,
3333
);
3434
return false;
3535
}

0 commit comments

Comments
 (0)