https://github.com/masterkale/anylogger-bug-repro-17
https://github.com/masterkale/anylogger-bug-repro-17
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/masterkale/anylogger-bug-repro-17
- Owner: MasterKale
- Created: 2021-02-03T21:42:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-03T13:28:14.000Z (about 5 years ago)
- Last Synced: 2025-02-05T13:48:20.881Z (over 1 year ago)
- Language: TypeScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# anylogger Bug Repro Repo ([Issue #17](https://github.com/Download/anylogger/issues/17))
## Requirements
- Node v14.9.0
## Reproduction steps
### 1. Build `myLib` library
`cd ./myLib`, then `npm install && npm run build`
### 2. Install `application` dependencies
`cd ../application`, then `npm install`
> `myLib` is linked as a relative path import in application's **package.json**
### 3. Start application
`npm start`
> Alternatively, `npm run start:node` will reproduce the error in vanilla Node code (it builds the TypeScript then executes it directly with `node` instead of `ts-node` via `nodemon`)
## Expected
Application outputs `"hello from myLib log in application"` in console on start via `anylogger-console`
## Actual
No console output is generated when using `myLib`'s `log` export.