Questions

Login to create Question


db.collection(...).findOne(...).project is not a function

getting following error with NodeJS MongoDB driver db.collection(...).findOne(...).project is not a function

Views: 19

nodejs mongodb
created by megamind

show dbs failing on mongo console

show dbs failing with following error on mongo console not authorized on admin to execute command { listDatabases: 1.0 }

Views: 34

mongodb
created by megamind

How to pass environment variables to docker?


Views: 45

docker environment
created by megamind

How to switch branch in Git


Views: 63

No Tags
created by d20160501

How to initialize a Git repository on a existing code folder?


Views: 54

No Tags
created by d20160501

gRPC project build failing with Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:compile (default) on project grpc-hello-world: Missing

Getting following error with gRPC build [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:compile (default) on project grpc-hello-world: Missing:

Views: 51

grpc maven build
created by d20160501

getting RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 3

getting RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 3 while returning a number

Views: 296

express
created by noder

Error while querying with multiple terms in Elasticsearch

[term] query doesn't support multiple fields, found [FirstName.keyword] and [FirstName.keyword]

Views: 140

elasticsearch query term
created by d20160501

Error while performing distinct query on elasticsearch

Fielddata is disabled on text fields by default. Set fielddata=true on [Age] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead

Views: 131

elasticsearch distinct
created by d20160501

Kap recording issue

I am getting the error Unhandled Promise Rejection Error: Call `.startRecording()` first at Aperture.stopRecording while i am recording large videos

Views: 86

kap
created by noder

MDC-Web Select Component


Views: 95

mdc-components
created by Maurya Vardhan

ionicframework error

In development mode when i made changes then ionic is giving this error while navigating.

Views: 84

ionic ionicframework
created by noder

How to check dependency tree of a gradle project

How can i check dependency tree of a gradle project?

Views: 101

gradle gradlew dependency dependency-tree
created by d20160501

Exception while accessing /jsondoc endpoint

Getting following exception wile accessing /jsondoc endpoint in Spring Boot java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.reflect.ParameterizedType

Views: 80

jsondoc api spring-boot
created by d20160501

How to create MongoDB index?

How to create MongoDB indexes on single field and multiple fields?

Views: 71

mongodb index
created by d20160501

-bash: gulp: command not found

When i run the task 'gulp dev' i am getting following error -bash: gulp: command not found

Views: 109

gulp
created by noder

Unable to build Android Application when proguard rules are enabled

Failing with following error Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'. > Job failed, see logs for details

Views: 149

android proguard
created by andro

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Views: 781

material-ui react
created by noder

Push failing with GitLab

Getting following error while pushing Pushing to https://[email protected]/foo/bar.git remote: You must accept the Terms of Service in order to perform this action. Please access GitLab from a web browser to accept these terms. fatal: unable to access 'https://[email protected]/foo/bar.git/': The requested URL returned error: 403

Views: 114

gitlab push
created by noder

How to install a debian (.deb) file in Ubuntu

How to install a debian (.deb) file in Ubuntu using command prompt?

Views: 74

ubuntu deb debian install
created by d20160501