Registry / database / node-red-contrib-fox-control-panel

node-red-contrib-fox-control-panel

JSON →
library5.0.2jsnpmunverified

A Node-RED plugin that provides a management panel for FoxControl Server, based on SQLite database. Current stable version 5.0.2. It supports dynamic table management, CRUD operations, REST API, and includes 6 custom nodes (query, insert, update, delete, upsert, event listener). Key differentiators: multi-database architecture, schema migrations, real-time events via SQLite triggers, and a Vue.js admin dashboard. Built for Node.js >= 14.0.0.

npm install node-red-contrib-fox-control-panel
INSTALL
IMPORT
SIG · NODE-RED-CONTRIB-F
N
node-red-contrib-fox-control-panel
databasejavascriptv5.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FoxControlPanel
import FoxControlPanel from 'node-red-contrib-fox-control-panel'
const FoxControlPanel = require('node-red-contrib-fox-control-panel')
Default import is not used; the package is a Node-RED plugin loaded by Node-RED upon installation.

Install the package in your Node-RED user directory, restart Node-RED, and access the admin panel at /foxcontrol_panel/.

cd ~/.node-red npm install node-red-contrib-fox-control-panel # restart Node-RED node-red # access admin panel at http://localhost:1880/foxcontrol_panel/
Debug
Known issues
gotchaThe package is a Node-RED plugin and must be installed in the Node-RED user directory (~/.node-red). Installing globally will not work.
fix
Run commands from ~/.node-red or set NODE_RED_USER_DIR to your Node-RED user directory.
affects: >=1.0.0
gotchaThe admin panel requires a built version of the Vue.js frontend. If installing from source, you must run npm install and npm run build in lib/admin.
fix
cd node_modules/node-red-contrib-fox-control-panel/lib/admin && npm install && npm run build
affects: >=1.0.0
gotchaSQLite databases are created in the Node-RED user directory by default. Ensure the directory is writable.
fix
Check permissions on ~/.node-red and its parent directories.
affects: >=1.0.0
gotchaThe plugin does not support concurrent writes to the same database from multiple Node-RED instances. Use SQLite locking or single instance.
fix
Ensure only one Node-RED instance accesses the same SQLite database at a time.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'better-sqlite3'
Missing native dependency better-sqlite3, which must be compiled for the target platform.
fix
Run 'npm install' in the Node-RED user directory to rebuild native modules. If on Windows, ensure build tools are installed or use prebuilt binaries.
Error: listen EADDRINUSE :::1880
Port 1880 already in use by another process (e.g., another Node-RED instance or service).
fix
Change the port in Node-RED settings file (~/.node-red/settings.js) or kill the occupying process.
Error: SQLITE_ERROR: no such table: audit_log
The main database schema has not been initialized. Usually happens when upgrading from older version without running migrations.
fix
Delete the main SQLite database file (located in ~/.node-red/foxcontrol.sqlite) and restart Node-RED to recreate it. Alternatively, run the migration script if provided.
Upgrade
Version history
5.0.2latest on npm
Audit
Dependencies
better-sqlite3requiredSQLite database driver for all database operations.
node-redoptionalCore dependency for Node-RED runtime integration.
Agent activity
2 hits · last 30 days
node
2
Resources
node-red-contrib-fox-control-panel — npm install node-red-contrib-fox-control-panel · libregistry