Registry / devops / strong-mesh-models

strong-mesh-models

JSON →
library8.1.1jsnpmunverified

Loopback-based data models for REST communication with StrongLoop process manager (strong-pm) and scheduler (strong-scheduler). Version 8.1.1 is the latest stable release; the package is in maintenance mode with infrequent updates. Key differentiator: provides the model layer for the StrongLoop arc tooling and PM integration, leveraging LoopBack framework conventions for Node.js process management.

npm install strong-mesh-models
INSTALL
IMPORT
SIG · STRONG-MESH-MODELS
S
strong-mesh-models
devopsjavascriptv8.1.1
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.

MeshServerModel
const MeshServerModel = require('strong-mesh-models').MeshServerModel;
const MeshServerModel = require('strong-mesh-models/MeshServerModel');
Exported as a property of the module; direct subpath import does not work.
ProcessModel
const { ProcessModel } = require('strong-mesh-models');
const ProcessModel = require('strong-mesh-models').ProcessModel;
Both destructuring and dot-access work; no known ESM exports.
ServiceInstanceModel
const ServiceInstanceModel = require('strong-mesh-models').ServiceInstanceModel;
import { ServiceInstanceModel } from 'strong-mesh-models';
Package only provides CommonJS exports; ESM import causes error.
Debug
Known issues
gotchaModels rely on a running LoopBack app with datasource configuration; they are not standalone.
fix
Ensure you have a LoopBack application with a configured datasource before using these models.
affects: >=5.0.0
deprecatedThe strong-pm ecosystem is largely superseded by modern PM2 and container orchestration; this package is in maintenance-only mode.
fix
Consider migrating to newer process management solutions.
affects: >=8.0.0
gotchaRequires strong-pm version 6.x or higher for compatible REST API endpoints.
fix
Check strong-pm version compatibility; upgrade both packages accordingly.
affects: >=7.0.0
Errors
Common errors & fixes
Error: Cannot find module 'strong-mesh-models'
Package not installed or missing from node_modules.
fix
Run 'npm install strong-mesh-models'
TypeError: MeshServerModel is not a constructor
Attempted to use the model without initializing LoopBack datasource or calling .attachTo()
fix
Ensure your LoopBack app datasource is configured and call model.attachTo(datasource)
Error: getaddrinfo ENOTFOUND strong-pm.local
Default host points to 'strong-pm.local' which does not exist.
fix
Set the host property on the model or configure datasource with correct strong-pm address.
Upgrade
Version history
8.1.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
strong-mesh-models — npm install strong-mesh-models · libregistry