Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
V3 rest-api in errored state
Copy Markdown
Open in ChatGPT
Open in Claude
V3 rest-api in errored state
Problem statement: V3 rest-api services in errored state after restart of services or linux patching as shown in the below message as shown below

Error messages in the /opt/infoworks/logs/rest/error-1.log is similar to the messages shown below:
xxxxxxxxxxError: The module '/opt/infoworks/platform/rest-api-service/node_modules/bcrypt/lib/binding/bcrypt_lib.node'was compiled against a different Node.js version usingNODE_MODULE_VERSION 79. This version of Node.js requiresNODE_MODULE_VERSION 57. Please try re-compiling or re-installingthe module (for instance, using `npm rebuild` or `npm install`).Roo**t cause:** This means that there is a conflict in the node version in ${IW_HOME}/platform/rest-api-service/package.json and the node version installed, by default, with the infoworks product. The default version can be found by running the below commands on the edge node.
xxxxxxxxxxsource /opt/infoworks/bin/env.shnode -vSolution:
- Change Directory to ${IW_HOME}/platform/rest-api-service.
- Open the package.json file and remove the “node” line in the “dependencies” key (see below)
xxxxxxxxxx"node": "^12.13.0"- Back up and delete the package-lock.json file
- Back up and delete the node_modules folder
- Run the command
xxxxxxxxxxnpm install- Run the command
xxxxxxxxxxnpm startApplicable Infoworks versions:
v4.2.x
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
For more details, refer to our Knowledge Base and Best Practices!
For help, contact our support team!
© UNIPHORE TECHNOLOGIES 2025 | Confidential
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message