Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ruslanguns/nestjs-test-repo


https://github.com/ruslanguns/nestjs-test-repo

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# BUG: Library on NestJS
---------------------------
-> FIXED in commit [commit ef2b2b5548e849f03ecd0f3361b65cc22c813662](https://github.com/ruslanguns/nestjs-test-repo/pull/1/commits/ef2b2b5548e849f03ecd0f3361b65cc22c813662)

-> More information in the pull request [#1 ](https://github.com/ruslanguns/nestjs-test-repo/pull/1)

## Introduction

This is a started project of nestjs with a library created from schematics.
The issue occurs when you are trying to start the project with `yarn start:dev` it creates a dist folder with libs and src separated and that is why that command does not work.

Was created with the following commands:
* `➜ nest new my-nest-app`
* `➜ nest g lib utils`

## Environment:
```bash
➜ nest --version
6.6.0
```

## Installation
```bash
➜ git clone https://github.com/ruslanguns/nestjs-test-repo.git
...
➜ cd nestjs-test-repo
➜ npm install
➜ yarn start:dev // or npm run start:dev
```

## Notes:
Please note that if you run `yarn start` it will work but it's because you are running the src/main.ts and not the built dist.