If you need any other module or version which you can install manually, you just need to go to Cloud Code Section and upload in your "Cloud" folder a JSON file called "package.json" like this example below:
{
"dependencies": {
"module_name": "module_version"
}
}
In the example below, we will install the "NodeMailer" module:
1 - Go to Cloud Code Card and click on Settings:
2 - Then, click on the "Browse.." button and select your JSON file named "package.json" and upload it. It will be like this:
3 - As you can see, the package.json is in your "public" folder, and you will need to move it to your "cloud" folder. You only need to drag and drop the file.
Done! The module has been installed! :D
NOTE: The "nodemailer" was only an example, you can install other modules as well. If you don't need to install other modules but need to use another version of any module installed on Back4App, you can use the same steps mentioned above.
Comments
0 comments
Please sign in to leave a comment.