Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant