This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[MJSONWP] Encountered internal error running command: Error: Error executing adbExec. Original error: 'Command '/Users/vselvam1810/Library/Android/sdk/platform-tools/adb -P 5037 -s b6f48f59 install /Users/vselvam1810/Downloads/Archive/XYZ.apk' exited with code 1'; Stderr: 'adb: failed to install /Users/vselvam1810/Downloads/Archive/XYZ.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]'; Code: '1' | |
[MJSONWP] at ADB.execFunc$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-adb/lib/tools/system-calls.js:317:13) | |
[MJSONWP] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-adb/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
[MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-adb/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
[MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { Mongoose } = require('mongoose'); | |
let connection = null; | |
const connectToDB = async () => { | |
const mongoose = new Mongoose(); | |
mongoose.Promise = global.Promise; | |
let mongoUserCredentials = ''; | |
if (process.env.MONGO_USER && process.env.MONGO_PASSWORD) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express'; | |
import bodyParser from 'body-parser'; | |
import { graphqlExpress, graphiqlExpress } from 'apollo-server-express'; | |
import { makeExecutableSchema } from 'graphql-tools'; | |
import { connectToDB } from './database'; | |
// Start the http server | |
const startServer = async () => { | |
const { User } = require('./database/models'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { Mongoose } = require('mongoose'); | |
let connection = null; | |
const connectToDB = async () => { | |
const mongoose = new Mongoose(); | |
mongoose.Promise = global.Promise; | |
let mongoUserCredentials = ''; | |
if (process.env.MONGO_USER && process.env.MONGO_PASSWORD) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".jsx\{0,1\}$") | |
ESLINT="$(git rev-parse --show-toplevel)/node_modules/.bin/eslint" | |
if [[ "$STAGED_FILES" = "" ]]; then | |
exit 0 | |
fi | |
PASS=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Connections | |
* (sails.config.connections) | |
* | |
* `Connections` are like "saved settings" for your adapters. What's the difference between | |
* a connection and an adapter, you might ask? An adapter (e.g. `sails-mysql`) is generic-- | |
* it needs some additional information to work (e.g. your database host, password, user, etc.) | |
* A `connection` is that additional information. | |
* | |
* Each model must have a `connection` property (a string) which is references the name of one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$> gradle build | |
............ | |
---------- | |
1627. ERROR in /Users/vimalrajselvam/development/java-client/src/main/java/io/appium/java_client/SwipeElementDirection.java (at line 125) | |
@Override int getStartX(Point center, Point location, Dimension size, int offSet) { | |
^^^^^^^^^ | |
Syntax error, annotations are only available if source level is 1.5 or greater | |
---------- | |
1628. ERROR in /Users/vimalrajselvam/development/java-client/src/main/java/io/appium/java_client/SwipeElementDirection.java (at line 129) | |
@Override int getStartY(Point center, Point location, Dimension size, int offSet) { |