You're seeing these errors because:
- ❌ You're in the wrong directory (
C:\WINDOWS\system32) - ❌ The path
C:\path\to\local-nexus-controllerdoesn't exist (it's just an example) - ❌ Old widget startup scripts are broken and trying to run from wrong locations
Open Windows Explorer and navigate to where you saved Local Nexus Controller.
Your project path is probably something like:
C:\Users\nedpe\LocalNexusControllerC:\Users\nedpe\Documents\LocalNexusControllerC:\Users\nedpe\Projects\local-nexus-controllerC:\Dev\local-nexus-controller
Find the folder that contains these files:
package.jsonrequirements.txtapp.pytoolsfolder
Write down or copy this path - you'll need it!
-
Open PowerShell in your project directory:
- In Windows Explorer, navigate to your actual project folder
- Hold Shift and right-click in the folder
- Select "Open PowerShell window here"
-
Run the cleanup script:
.\tools\cleanup_old_startup.ps1
-
Remove any old shortcuts it finds (press Y when asked)
Still in the same PowerShell window (in your project folder):
.\tools\ENABLE_AUTO_START.batOR just double-click ENABLE_AUTO_START.bat in the tools folder.
When it asks for administrator access, click Yes.
If you just want to start it manually each time:
- Navigate to your project folder in Windows Explorer
- Double-click
start.bat
cd C:\YOUR\ACTUAL\PROJECT\PATH
start.batReplace C:\YOUR\ACTUAL\PROJECT\PATH with your real path!
For example:
cd C:\Users\nedpe\LocalNexusController
start.batLooking at your screenshot:
cd C:\path\to\local-nexus-controller
: Cannot find path 'C:\path\to\local-nexus-controller' because it does not exist.
Cause: C:\path\to\local-nexus-controller is a PLACEHOLDER in the documentation. You need to use YOUR actual path.
start.bat : The term 'start.bat' is not recognized
Cause: You were in C:\WINDOWS\system32, not in the project folder. The start.bat file is in your project folder.
[error 2147942402 (0x80070002) when launching ...start_dashboard_widget.ps1"]
The system cannot find the file specified.
Cause: Old broken startup shortcut in your Windows Startup folder pointing to wrong location.
Fix: Run the cleanup script from Step 2 above.
If you can't remember where you saved the project:
- Open Windows Search (Win key)
- Type:
package.json local nexus - Right-click the result → "Open file location"
- This is your project folder!
- Open File Explorer
- Look under "Recent" in the left sidebar
- Find "local-nexus-controller" or similar
Open these in File Explorer:
C:\Users\nedpe\(your user folder)C:\Users\nedpe\DocumentsC:\Users\nedpe\DesktopC:\DevC:\Projects
cd C:\YOUR\ACTUAL\PATH
start.batShould open dashboard at http://localhost:5010
- Close everything
- Log out of Windows
- Log back in
- Controller should start automatically!
If you get "scripts are disabled" error:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserThen try again.
Install Python from https://python.org
Make sure to check "Add Python to PATH" during installation.
Install Node.js from https://nodejs.org
If you literally cannot find where you downloaded/cloned the project:
- Download it again or clone from git
- Save it to:
C:\Users\nedpe\LocalNexusController - Follow steps above using this path
Find where you are:
cdGo to your project:
cd C:\Users\nedpe\LocalNexusController(use your actual path)
Start manually:
start.batEnable auto-start:
.\tools\ENABLE_AUTO_START.batClean up old broken startup:
.\tools\cleanup_old_startup.ps1- ✅ Find your actual project folder path
- ✅ Run
tools\cleanup_old_startup.ps1from project folder - ✅ Run
tools\ENABLE_AUTO_START.bat - ✅ Restart computer to test
That's it! No more errors.