Closed
Description
Issue Description
Steps to reproduce
I have the following setup and I am getting an error parse-server-simple-mailgun-adapter: command not found
{
"apps" :
[
{
"name" : "Logistics App",
"script" : "parse-server",
"ignore_watch": ["logs"],
"watch" : true,
"merge_logs" : true,
"cwd" : "/root/parse-server/",
"env": {
"PARSE_SERVER_CLOUD_CODE_MAIN": "/root/logistics-app/cloud/main.js",
"PARSE_SERVER_DATABASE_URI": "mongodb://localhost:27017/logisticsDB",
"PARSE_SERVER_APPLICATION_ID": "PARSE_SERVER_APPLICATION_ID",
"PARSE_SERVER_MASTER_KEY": "PARSE_SERVER_MASTER_KEY",
"PORT": "1338",
"PARSE_SERVER_EMAIL_ADAPTER": {
"module": "parse-server-generic-email-adapter",
"options": {
"service": "Gmail",
"email": "[email protected]",
"password": "Your password"
}
},
"PARSE_SERVER_URL": "http://HOST/logisticsApp",
}
},
]}
I have installed parse-server-simple-mailgun-adapter
using npm i -g parse-server-simple-mailgun-adapter
Expected Results
Parse server should start with the email module setup and loaded properly
Actual Outcome
Environment Setup
-
Server
- parse-server version : "version": "2.3.1"
- Operating System: Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-139-generic x86_64)
- Hardware: digital ocean droplet
- Localhost or remote server? : Digital Ocean
-
Database
- MongoDB version:
MongoDB shell version v3.4.10
git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
allocator: tcmalloc
modules: none
build environment:
distmod: ubuntu1604
distarch: x86_64
target_arch: x86_64
Logs/Trace
Error: Cannot find module 'parse-server-generic-email-adapter'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Function._load (/usr/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at loadAdapter (/usr/lib/node_modules/parse-server/lib/Adapters/AdapterLoader.js:27:15)
at loadAdapter (/usr/lib/node_modules/parse-server/lib/Adapters/AdapterLoader.js:34:12)
at new ParseServer (/usr/lib/node_modules/parse-server/lib/ParseServer.js:279:65)
at new _ParseServer (/usr/lib/node_modules/parse-server/lib/index.js:46:16)
at startServer (/usr/lib/node_modules/parse-server/lib/cli/parse-server.js:52:13)
Metadata
Metadata
Assignees
Labels
No labels