toonvanstrijp / nestjs-i18n

The i18n module for nestjs.
https://nestjs-i18n.com
Other
646 stars 111 forks source link

Cannot find module "Chalk" #574

Closed fitimbytyqi closed 1 year ago

fitimbytyqi commented 1 year ago

Describe the bug

Using docker to build a NestJS project which includes Nestjs-I18n an error occurs with the description below.

Error: Cannot find module 'chalk'
Require stack: ...

This is stopping the project to be ran in the container.

Reproduction

NestJS-i18n version: 10.3.5 Locally, simply installing chalk and uninstalling it will throw the error on application start with npm run start:dev.

System Info

System:
    OS: macOS 13.2.1
    CPU: (8) arm64 Apple M1
    Memory: 77.11 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.8.0 - ~/.nvm/versions/node/v20.8.0/bin/node
    npm: 10.1.0 - ~/.nvm/versions/node/v20.8.0/bin/npm
    Watchman: 2023.03.13.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 117.0.5938.132
    Safari: 16.3

Used Package Manager

npm

Validations