Catalyst Function : error": "Error: Cannot find module 'node-fetch'\n

Catalyst Function : error": "Error: Cannot find module 'node-fetch'\n

npm package 'fetch' has not been installed. Please install the same using the following command
  1. npm install node-fetch
    • Related Articles

    • Catalyst Functions : 500 Error

      In order to be deployed in Catalyst, the Node.js application must follow a certain code structure. This issue might occur if the code structure for the same is not followed. You can find the sample code structure for all Catalyst functions here.  For ...
    • Basic I/O Function :Troubleshooting Tips

      Do check in your code whether you have used context.close() anywhere after the function block as it might close the function before sending the response. This might have caused you the issue.  The code within the function block will be executed only ...
    • Catalyst Function Execution and Performance

      You will only face higher execution time for function when it is called after a certain period of inactivity. If invoked continuously, you will not face the slowness. You can check the access logs for your function and check the average execution ...
    • Basic I/O function in Nodejs to insert row in Catalyst Data Store

      const catalyst = require("zcatalyst-sdk-node"); module.exports = async(context, basicIO) => {     const tablename = "Students"     const app = catalyst.initialize(context);     let name = basicIO.getArgument("name");     let age = ...
    • Basic I/O function in Nodejs to insert row in Catalyst Data Store

      const catalyst = require("zcatalyst-sdk-node"); module.exports = async(context, basicIO) => {     const tablename = "Students"     const app = catalyst.initialize(context);     let name = basicIO.getArgument("name");     let age = ...