Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Problems when using in a monorepo with Lerna #903

Open
mbrowne opened this issue Aug 19, 2021 · 0 comments
Open

Problems when using in a monorepo with Lerna #903

mbrowne opened this issue Aug 19, 2021 · 0 comments

Comments

@mbrowne
Copy link

mbrowne commented Aug 19, 2021

Hi, I'm moving my existing repo using esm into a monorepo using lerna.

When I use lerna run --stream dev to start my app, the command works, but some of the output is being swallowed and doesn't show up in the console. If I cd to the specific package and run yarn dev then it works fine (logs all output).

An easy way to reproduce the issue is to add an import to a non-existent module, to your code:

import 'i-dont-exist'

The error message gets logged when running the app directly, but not when running it using lerna.

Has anyone else encountered this? I'm not sure if it's an esm issue or a lerna issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant