Troubleshooting
Problem
Follow this section to collect the data required to diagnose and resolve loopback issues
- Provide the operating system and its version where loopback is installed, or if the issue with loopback in IBM Cloud
- Provide the node, npm and loopback version using the commands :
- node -v
- npm -v
- npm ls --depth
- Provide details of use of LoopBack connectors
- Node module name of the LoopBack connector, for example, loopback-connector-db2.
- If it is a database connector, specify the database version is being used, and whether it is on IBM Cloud.
- Provide the LoopBack application and steps to reproduce the issue
- Loopback version 3.x
- .json files under "server" folder
- *.yaml files under "definitions" folder
- Loopback version 4.x
- .json under src/datasources
- *.yaml / *.yml anywhere
- Note: If you cannot share the application, share a sample application that contains the minimum code to reproduce the problem
- Loopback version 3.x
- Provide Error logs or stack traces (if applicable)
- Loopback version 3.x
- See https://loopback.io/doc/en/lb3/Running-and-debugging-apps.html
- If applicable, provide error logs with specific debug string, see https://loopback.io/doc/en/lb3/Setting-debug-strings.html for more details.
- Loopback version .4x
- Modules are defined in separate packages here.
- You can turn on tracing for all loopback modules or specific ones. For example, from command line, you can specify trace settings as you start the app:
$ DEBUG=loopback:* npm start , to turn on debug tracing in ALL loopback modules , OR
$ DEBUG=loopback:rest npm start , to turn on debug tracing in just the ‘rest’ module, OR
$ DEBUG=loopback:connector:db2 npm start , to turn on debug tracing in just the ‘db2’ connector
- Loopback version 3.x
Document Location
Worldwide
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000CeDnAAK","label":"API Connect-\u003EDeveloper (DV)-\u003ELoopback"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.0;2018.4.1.0;5.0.0"}]
Was this topic helpful?
Document Information
Modified date:
02 July 2023
UID
ibm16342943