Open lquessenberry opened 4 years ago
Okay after I manually installed swagger like this
npm i swagger-tools
I now get the following output.
> $ npm start [±master ●]
> marketing-js@0.1.0 start /Users/lquessenberry/Sites/bitnami-docker-suitecrm/nodecode
> source settings.conf && node app.js
Needs latest SSL Root Certificate Authority data /Users/lquessenberry/Sites/bitnami-docker-suitecrm/nodecode/node_modules/ssl-root-cas/ssl-root-cas-latest.js
Loading latest certificates from https://mxr.mozilla.org/nss/source/lib/ckfw/builtins/certdata.txt?raw=1
[{"code":"UNUSED_DEFINITION","message":"Definition is not used: #/definitions/FullName","path":["definitions","FullName"]},{"code":"UNUSED_DEFINITION","message":"Definition is not used: #/definitions/Modules","path":["definitions","Modules"]}] 2
Skipped 2 untrusted certificates.
Processed 150 certificates.
Wrote 150 certificates in '/Users/lquessenberry/Sites/bitnami-docker-suitecrm/nodecode/node_modules/ssl-root-cas/pems/'.
Wrote '/Users/lquessenberry/Sites/bitnami-docker-suitecrm/nodecode/node_modules/ssl-root-cas/ssl-root-cas-latest.js'.
##########################################################################################
# #
# Downloaded the latest Root Certificate Authorities. Restart your server to use them. #
# #
##########################################################################################
Cannot GET /
Seems the server is running now, but I am still not able to create a contact that lands in SuiteCRM
When I try to authenticate Sugarcrm plugin this is what I get.
Authorization failed with the error message, 'There was an unknown error encountered when trying to obtain the access token.'
I think that may actually not be a big deal, but I don't know how to test whether it's authorized or not.
I am getting this output on the node server.
[{"code":"UNUSED_DEFINITION","message":"Definition is not used: #/definitions/FullName","path":["definitions","FullName"]},{"code":"UNUSED_DEFINITION","message":"Definition is not used: #/definitions/Modules","path":["definitions","Modules"]}] 2
Needs latest SSL Root Certificate Authority data /Users/lquessenberry/Sites/bitnami-docker-suitecrm/nodecode/node_modules/ssl-root-cas/ssl-root-cas-latest.js Loading latest certificates from https://mxr.mozilla.org/nss/source/lib/ckfw/builtins/certdata.txt?raw=1 internal/modules/cjs/loader.js:797 throw err; ^
Error: Cannot find module 'swagger-tools/middleware/swagger-ui' Require stack:
source settings.conf && node app.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the marketing-js@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/lquessenberry/.npm/_logs/2020-01-24T16_02_12_907Z-debug.log
lquessenberry@Lees-MacBook-Pro ~/Sites/bitnami-docker-suitecrm/nodecode [10:02:12]