Based on your screenshot, you have 3 problems:
- Wrong directory - You're in
C:\WINDOWS\system32instead of your project folder - Fake path -
C:\path\to\local-nexus-controllerdoesn't exist (it's an example from docs) - Old broken startup - There's an old widget script trying to run from the wrong location
Let's fix all of this right now!
You need to find where you actually saved this project.
- Double-click this file:
WHERE_AM_I.bat(in this folder) - It will show you the project path
- Copy that path - you'll need it!
- Press
Winkey - Type:
package.json local nexus - Right-click result → "Open file location"
Write down your actual path. It's probably something like:
C:\Users\nedpe\LocalNexusControllerC:\Users\nedpe\Documents\GitHub\local-nexus-controllerC:\Dev\local-nexus-controller
The errors at the bottom of your screenshot show old broken startup shortcuts.
- Hold Shift and right-click in your project folder (where this file is)
- Click "Open PowerShell window here"
- Run:
.\tools\cleanup_old_startup.ps1
- Press
Yto remove any old shortcuts it finds
This removes the broken widget startup causing those errors.
Now let's configure auto-start properly:
- Go to the
toolsfolder - Double-click
ENABLE_AUTO_START.bat - Click "Yes" when asked for administrator access
- Wait for "SUCCESS!" message
In PowerShell (from your project folder):
.\tools\setup_auto_start.ps1Double-click start.bat in your project folder.
Expected: Browser opens to http://localhost:5010
- Close everything
- Log out of Windows
- Log back in
- Controller should start automatically!
PS C:\WINDOWS\system32> start.batThis won't work!
cd C:\Users\nedpe\LocalNexusController
start.batcd C:\path\to\local-nexus-controllerThis doesn't exist!
cd C:\Users\nedpe\LocalNexusControllerDon't want auto-start? Just want to run it yourself?
Easy method:
- Navigate to your project folder in File Explorer
- Double-click
start.bat - Done!
Command Prompt method:
cd C:\Users\nedpe\LocalNexusController
start.bat(Replace with your actual path)
Install Python from https://python.org
Check "Add Python to PATH" during installation.
Install Node.js from https://nodejs.org
Run this first:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserRight-click ENABLE_AUTO_START.bat → "Run as administrator"
Error 1:
Cannot find path 'C:\path\to\local-nexus-controller' because it does not exist
Explanation: You copied an example path from documentation. That's not a real path on your computer.
Error 2:
start.bat : The term 'start.bat' is not recognized
Explanation: You were in System32 directory. start.bat is in YOUR project folder, not System32.
[error 2147942402...start_dashboard_widget.ps1"]
The system cannot find the file specified
Explanation: You have an old broken shortcut in your Windows Startup folder trying to run a widget script that doesn't exist or is in the wrong location.
Fix: Run tools\cleanup_old_startup.ps1 (Step 2 above)
| What You Want | What To Do |
|---|---|
| Find project location | Double-click WHERE_AM_I.bat |
| Start manually | Double-click start.bat |
| Enable auto-start | Double-click tools\ENABLE_AUTO_START.bat |
| Clean up old broken startup | Run tools\cleanup_old_startup.ps1 |
| Disable auto-start | Double-click tools\DISABLE_AUTO_START.bat |
- Found your actual project path (not the placeholder)
- Cleaned up old broken startup (
tools\cleanup_old_startup.ps1) - Enabled auto-start correctly (
tools\ENABLE_AUTO_START.bat) - Tested manual start (double-click
start.bat) - Tested auto-start (log out and back in)
- Double-click
WHERE_AM_I.bat- shows your project path - Go to
toolsfolder - Double-click
ENABLE_AUTO_START.bat - Restart your computer
That's it! No more errors.
Remember: Always run commands FROM your project folder, not from System32!