Download TROUBLESHOOTING.md from SmartySmile/freespace-freemind: direct link, hf CLI and curl.
- Browser
- Download file 11.2 kB
-
https://huggingface.co/datasets/SmartySmile/freespace-freemind/resolve/main/TROUBLESHOOTING.md
- Command line
-
hf download hf://datasets/SmartySmile/freespace-freemind/TROUBLESHOOTING.md
-
curl -L -o TROUBLESHOOTING.md https://huggingface.co/datasets/SmartySmile/freespace-freemind/resolve/main/TROUBLESHOOTING.md
Troubleshooting Guide - appsONLINE Launcher
This guide covers the most common issues and their solutions.
Installation Issues
npm: command not found
Problem: When running npm install, you get "npm: command not found"
Solution:
- Node.js and npm are not installed or not in your PATH
- Download Node.js from https://nodejs.org/ (includes npm)
- Run the installer
- Restart your terminal/PowerShell
- Verify:
npm --version
npm install fails with permission errors
Problem: EACCES: permission denied or similar
Solution (Windows):
- Run PowerShell or Command Prompt as Administrator
- Delete the
node_modulesfolder - Run
npm installagain
Solution (macOS/Linux):
sudo chown -R $(whoami) ~/.npm
npm install
.NET SDK not found
Problem: When trying to launch an app, error says "dotnet: command not found"
Solution:
- Install .NET SDK 8.0 from https://dotnet.microsoft.com/download
- Verify installation:
dotnet --version(should show 8.0 or higher) - Restart your terminal for changes to take effect
Application Launch Issues
No MVC applications found
Problem: The launcher shows "No MVC applications found in the workspace"
Checklist:
- Your ASP.NET Core project folder has a
.csprojfile - The project has a
Properties/launchSettings.jsonfile - The JSON file is valid (no syntax errors)
- The
httporhttpsprofile exists in the settings - Click "🔄 Refresh Apps" in the launcher
Fix:
Verify the project structure:
MyProject/ ├── MyProject.csproj ├── Properties/ │ └── launchSettings.json ← This file is required! └── ...Check if
launchSettings.jsonis valid JSON:# In the project folder Get-Content Properties/launchSettings.json | ConvertFrom-JsonEnsure it has an HTTP profile:
{ "profiles": { "http": { "commandName": "Project", "applicationUrl": "http://localhost:5293", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } } } }
Application fails to launch
Problem: Click "▶ Launch" but the app doesn't start
Solutions:
Check .NET SDK Installation:
dotnet --versionMust show version 8.0 or higher
Try launching manually:
cd path/to/your/project dotnet runIf this fails, you'll see the actual error
Check the port is available:
netstat -ano | findstr :5293 # Check if port 5293 is in useLook for errors in the console:
- If running
npm start, the console shows errors - Check for dependency issues in the
.csprojfile
- If running
Port already in use
Problem: Error message like "Address already in use" or "The port number X is already in use"
Diagnosis:
# Check what's using the port (example: port 5293)
netstat -ano | findstr :5293
Solution:
Change the port in
Properties/launchSettings.json:"applicationUrl": "http://localhost:5294" // Changed from 5293Click "🔄 Refresh Apps" in the launcher
The app should now use the new port
Application crashes immediately after launch
Problem: App launches but stops running within seconds
Diagnosis:
Try running the app manually:
cd path/to/your/project dotnet runLook at the error output for clues
Common causes:
- Missing appsettings.json
- Missing database files or connection strings
- Invalid configuration values
- Dependency version conflicts
Solution:
- Ensure
appsettings.jsonexists in the project root - Check the appsettings for required configurations
- Run
dotnet restoreto rebuild dependencies:cd path/to/your/project dotnet restore dotnet run
Launcher Window Issues
Electron window won't open
Problem: Running npm start but no window appears
Solution:
Check for errors in the console output
Ensure Electron is installed:
npm list electronIf electron is missing, reinstall dependencies:
rm -r node_modules npm install npm startTry running in debug mode:
npm run electron-dev
UI is blank or not loading
Problem: The window opens but shows a blank screen
Diagnosis:
- Open Developer Tools (Ctrl+Shift+I)
- Check the Console tab for errors
- Check the Network tab to see if API calls are failing
Solutions:
Ensure Express server started successfully (check console output for "port 3000")
Try refreshing the page (F5)
Check if port 3000 is already in use:
netstat -ano | findstr :3000If port 3000 is in use, change it in
main.js:const PORT = 3001; // Change from 3000
Application is unresponsive
Problem: The launcher window is frozen or not responding
Solution:
Click "⏹ Stop All Apps" to stop all running applications
Close the launcher window
Check for zombie processes:
Get-Process | findstr electron Stop-Process -Name electron # Force kill if neededRestart the launcher:
npm start
Application Management Issues
"Application is already running"
Problem: Trying to launch an app that's already running
Solution:
- This is expected behavior - the launcher prevents duplicate instances
- Click "⏹ Stop" to stop the running instance first
- Then click "▶ Launch" to start a new one
Apps don't appear in the list
Problem: You added a new MVC app but it's not showing
Solutions:
- Ensure the app is in a subfolder within the workspace
- Verify the
.csprojandProperties/launchSettings.jsonfiles exist - Click "🔄 Refresh Apps" to rescan
- Restart the launcher:
npm start
Cannot open app in browser
Problem: Click "🌐 Open" but the app doesn't open
Solutions:
Ensure the app is actually running (check the status)
Manually open the URL in your browser:
- Copy the URL from the app card
- Open your default browser
- Paste the URL and press Enter
Try opening different browsers
Check if there's a firewall blocking the port
Performance Issues
Launcher is slow
Problem: The launcher UI is sluggish or slow to respond
Diagnosis:
- Check how many apps are in the workspace
- More than 20+ apps can slow down scanning
- Each app scan reads files from disk
Solution:
- Close other running applications
- Try reducing the search depth in the launcher code
- Manually manage which apps to display
Apps take a long time to start
Problem: When clicking "▶ Launch", it takes longer than expected
Reasons:
- First-time restore of NuGet packages (normal, can take 30+ seconds)
- Large project with many dependencies
- Slow disk I/O
- Background processes consuming resources
Solution:
- Wait for the first launch to complete (can be slow)
- Subsequent launches are usually faster
- Close other applications to free up resources
- Check disk usage with Task Manager
Connectivity Issues
Can't access the running app
Problem: Click "🌐 Open" but get a "Connection refused" error
Diagnosis:
Verify the app is running (status shows "● Running")
Check if the port is accessible:
Test-NetConnection localhost -Port 5293Try accessing via localhost vs 127.0.0.1
Solution:
The app might still be starting - wait a moment and refresh
Check if a firewall is blocking the port
Try accessing the URL manually:
- Open your browser
- Type:
http://localhost:5293 - Press Enter
If the app shows "● Running" but is unreachable:
- Stop the app (click "⏹ Stop")
- Launch it again
- Wait 3-5 seconds before opening
Configuration Issues
Custom port not working
Problem: Changed the port in launchSettings.json but the app still uses the old port
Solution:
Verify the JSON syntax is correct
Make sure it's valid JSON:
Get-Content Properties/launchSettings.json | ConvertFrom-JsonClick "🔄 Refresh Apps" to reload configuration
Restart the launcher
Stop and relaunch the app
Different ports for HTTP and HTTPS
Problem: Can't decide which URL to use
Solution:
- The launcher uses the first URL in
applicationUrl - In the app card, it shows:
http://localhost:5293;https://localhost:7145 - Use the HTTP URL for development (no SSL certificate needed)
- To use HTTPS, you may need to trust the development certificate:
dotnet dev-certs https --trust
Advanced Troubleshooting
Enable debug logging
To see detailed debug information:
Set environment variable:
$env:DEBUG = "*" npm startOr open Developer Tools:
- Press Ctrl+Shift+I when the launcher window is open
- Check Console tab for errors
- Check Network tab for API call failures
Check logs
View application logs:
# See logs from console output
npm start 2>&1 | Tee-Object -FilePath launcher.log
# View the log file
Get-Content launcher.log
Reset the launcher
If something is really broken:
# Remove all generated files
rm -r node_modules
rm package-lock.json
# Reinstall everything
npm install
# Start fresh
npm start
Getting Help
If you're still stuck:
- Check the full README.md - More detailed information
- Check the QUICKSTART.md - Quick reference guide
- Look at console output - Most errors are printed there
- Try manual app launch - Helps isolate issues
- Check Node.js/Electron documentation
Common Error Messages Explained
| Error | Cause | Solution |
|---|---|---|
| "Cannot find module 'electron'" | Dependencies not installed | Run npm install |
| "dotnet: command not found" | .NET SDK not installed | Install from https://dotnet.microsoft.com/ |
| "EADDRINUSE: Address already in use" | Port is occupied | Change port in launchSettings.json |
| "ENOENT: no such file or directory" | Missing .csproj or launchSettings.json | Verify project structure |
| "SyntaxError: Unexpected token" | Invalid JSON in settings | Check JSON syntax with a validator |
Last Updated: February 1, 2026 Version: 1.0.0