Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger connector requires undocumented uri option #1

Open
Blackbaud-ChristiSchneider opened this issue Feb 11, 2016 · 1 comment
Open

Comments

@Blackbaud-ChristiSchneider

http://software.appcelerator.com/detail/connector/[email protected] and this github have no information on how to get started other then using appc install, so I assumed it would work/guide out of the box.

After install it gave some useful info:

connector/appc.swagger provided a default configuration example which was written to conf/appc.swagger.default.js
You must update the config file located in /Users/fokkezb/dev/appcelerator/appc-devlink-server/conf/appc.swagger.default.js before you can use it!

I had the Arrow app running in another terminal session so it restarted because it saw changes, but a fresh appc run gave me the same result:

Restarting due to changes to:

    /Users/fokkezb/dev/appcelerator/appc-devlink-server/conf/appc.swagger.default.js


INFO   | Arrow/1.2.62 DevLink/1.0.19
INFO   | APIKey is: d5GjQDD5yE7DAvZ1FhUyIoHThRBwTlkt
INFO   | starting connector/[email protected]
ERROR  | Login failed. Please double check your credentials.
Uncaught Exception Error loading connector/appc.swagger. Error loading connector/appc.swagger. options.uri is a required argument
Error: Error loading connector/appc.swagger. Error loading connector/appc.swagger. options.uri is a required argument
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/lib/arrow.js:513:11
    at Connector.connectCallback (/Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/lib/connector.js:464:21)
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:251:17
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:148:21
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:248:21
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:612:34
    at Connector.connectTask (/Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/lib/connector.js:428:5)
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:607:21
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:246:17
    at iterate (/Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:146:13)
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:157:25
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:248:21
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:612:34
    at Connector.configTask (/Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/lib/connector.js:418:5)
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:607:21
    at /Users/fokkezb/.appcelerator/install/5.0.4/package/node_modules/arrow/node_modules/arrow-orm/node_modules/async/lib/async.js:246:17

I opened conf/appc.swagger.default.js to look for an uri option, but there was not.
No idea how to continue from here.

This has been filed on Appcelerator's JIRA dashboard as well.

@FokkeZB
Copy link

FokkeZB commented Feb 11, 2016

This is a 1:1 copy of this JIRA ticket I created a few months ago:
https://jira.appcelerator.org/browse/API-1119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants