Your Local Nexus Controller has been configured with automatic startup capabilities.
- ✅ No more System32 errors
- ✅ Batch files automatically navigate to correct directory
- ✅ All scripts verify project location before running
- ✅ Tries 5 different installation methods automatically
- ✅ Works with
pip,pip3,python -m pip, and--userflags - ✅ Shows progress and clear error messages
- ✅ Handles missing
pipmodule gracefully
- ✅ Double-click setup files in
toolsfolder - ✅ Uses Windows Task Scheduler (most reliable method)
- ✅ Runs from correct directory every time
- ✅ Easy enable/disable with batch files
- Open your project folder
- Go to the
toolsfolder - Double-click:
ENABLE_AUTO_START.bat - Click "Yes" when asked for administrator access
- Done!
# From your project root
.\tools\setup_auto_start.ps1After enabling auto-start:
- ✅ Controller automatically starts when you log into Windows
- ✅ Runs
npm run devfrom the correct directory - ✅ Installs dependencies if needed
- ✅ Opens dashboard in your browser
- ✅ Runs minimized in background
Easy Setup Files:
ENABLE_AUTO_START.bat- Enable auto-start (double-click)DISABLE_AUTO_START.bat- Disable auto-start (double-click)
PowerShell Scripts:
setup_auto_start.ps1- Auto-start configurationdisable_auto_start.ps1- Remove auto-startstart_on_boot.vbs- VBScript launcher (alternative)
Auto-Generated:
start_nexus_on_boot.bat- Created by setup script
AUTO_START_GUIDE.md- Complete auto-start guide with troubleshootingtools/README.md- Tools directory referenceWINDOWS_SETUP.md- Updated with auto-start infoREADME.md- Updated with auto-start section
The __main__.py file now tries these methods in order:
pip3 install -r requirements.txtpip install -r requirements.txtpython -m pip install -r requirements.txtpip3 install --user -r requirements.txtpip install --user -r requirements.txt
Result: Dependencies will install successfully on almost any Windows Python setup!
All startup scripts:
- ✅ Detect their own location
- ✅ Navigate to project root
- ✅ Verify project files exist
- ✅ Show clear error messages if something's wrong
Removed problematic predev and postinstall hooks that caused errors. The application now handles everything internally.
| Task | Command |
|---|---|
| Enable auto-start | Double-click tools/ENABLE_AUTO_START.bat |
| Disable auto-start | Double-click tools/DISABLE_AUTO_START.bat |
| Start manually | Double-click start.bat or run npm run dev |
| Check if enabled | Open Task Scheduler → Find "Local Nexus Controller" |
| View logs | Open dashboard → Services → View logs |
cd C:\path\to\local-nexus-controller
start.batExpected: Dashboard opens at http://localhost:5010
Get-ScheduledTask -TaskName "Local Nexus Controller"Expected: Shows task details with Status = "Ready"
Start-ScheduledTask -TaskName "Local Nexus Controller"Expected: Controller starts and dashboard opens
- Enable auto-start (if not already)
- Log out of Windows
- Log back in
- Controller should start automatically
- Dashboard should open in browser
Cause: Running from wrong directory (System32)
Fix: Use start.bat or tools/ENABLE_AUTO_START.bat instead of npm run dev directly
Check these:
- Is the task created? Open Task Scheduler and look for "Local Nexus Controller"
- Is Python in your PATH? Run
python --versionin cmd - Is Node/npm in your PATH? Run
npm --versionin cmd - Check task history in Task Scheduler for errors
Solutions:
- See AUTO_START_GUIDE.md for detailed troubleshooting
- Check Windows Event Viewer for Task Scheduler errors
- Try running
tools/start_nexus_on_boot.batmanually to see errors
The app tries 5 methods automatically. If all fail:
Manual install:
cd C:\path\to\local-nexus-controller
pip install -r requirements.txtOr try:
python -m pip install --user -r requirements.txtAll documentation is up-to-date:
- AUTO_START_GUIDE.md - Complete auto-start guide
- WINDOWS_SETUP.md - Windows troubleshooting
- README.md - Main documentation
- tools/README.md - Tools reference
- ✅ Double-click
tools/ENABLE_AUTO_START.batto enable auto-start - ✅ Restart your computer to test it works
- ✅ Forget about manual startup - it just works!
Before:
- ❌ Had to manually
cdto correct directory - ❌
pipmodule errors - ❌ Vite errors from System32
- ❌ Manual startup every reboot
After:
- ✅ Automatic directory detection
- ✅ Smart dependency installation
- ✅ No more System32 errors
- ✅ Auto-start on Windows boot
Everything is now fixed and ready to use!
- Enable auto-start: Double-click
tools/ENABLE_AUTO_START.bat - Test it: Log out and back in (or restart)
- Enjoy: Never manually start the controller again!
If you have any issues, check AUTO_START_GUIDE.md for troubleshooting.
You're all set! The controller will now start automatically every time you log into Windows. 🎉