GithubHelp home page GithubHelp logo

kop7 / nest-elasticsearch-vue Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 12.0 598 KB

Autocomplete search with Nestjs, Elasticsearch and Vue

Home Page: https://dev.to/kop7/how-to-build-autocomplete-search-with-nestjs-elasticsearch-and-vue-12h8

Dockerfile 3.33% JavaScript 6.22% HTML 2.97% Vue 16.32% TypeScript 71.15%
autocomplete elasticsearch javascript nest typescript vue

nest-elasticsearch-vue's Issues

ERROR [ExceptionHandler] The "path" argument must be one of type string, Buffer, or URL. Received type undefined

Hi i'm getting this error in the main.ts file on this line

const configService = new ConfigService('.env');

The error:

[Nest] 86043 - 2022-02-02 17:29:13 ERROR [ExceptionHandler] The "path" argument must be one of type string, Buffer, or URL. Received type undefined
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined
at Object.openSync (fs.js:432:10)
at Object.readFileSync (fs.js:342:35)
at new ConfigService (/Users/primaellebrun/apis/gazon-api/src/config/config.service.ts:8:38)
at Injector.instantiateClass (/Users/primaellebrun/apis/gazon-api/node_modules/@nestjs/core/injector/injector.js:291:19)
at callback (/Users/primaellebrun/apis/gazon-api/node_modules/@nestjs/core/injector/injector.js:43:41)
at Injector.resolveConstructorParams (/Users/primaellebrun/apis/gazon-api/node_modules/@nestjs/core/injector/injector.js:119:24)

Can you help?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.