Cannot find npm package

JavaScript
am trying to import an npm package “jwt-simple”

const jwt = require('jwt-simple');

but it keeps producing an exception:

400 - Cannot find module 'jwt-simple'
 Require stack: - /opt/backendless/repo/5fb0ea72-a363-4451-ffa5-a56f031d6600/files/servercode/JS/default/PRODUCTION/services/UserBusiness.js
 - /usr/local/lib/node_modules/backendless-coderunner/lib/server-code/api/index.js 
- /usr/local/lib/node_modules/backendless-coderunner/lib/server-code/runners/cloud-worker.js

any hint or help?

Hi @adel_kasno,

you should install this module first.

please see this doc for the answer to your question:
https://backendless.com/docs/bl-js/bl_node_modules.html

(You will have to download your project, install required modules and deploy it back to Backendless).

Regards,
Stanislaw

Thank you