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

object: extraNodeModules and array: blockList are empty #12

Open
oskarhertzman opened this issue Jan 7, 2022 · 1 comment
Open

object: extraNodeModules and array: blockList are empty #12

oskarhertzman opened this issue Jan 7, 2022 · 1 comment

Comments

@oskarhertzman
Copy link

const monorepoMetroTools = getMetroTools();

When logging monorepoMetroTools, i get this:

extraNodeModules: {}, blockList: [], watchFolders: [ '/Users/oskar/Desktop/projects/app-helsingborg-guide/node_modules', '/Users/oskar/Desktop/projects/app-helsingborg-guide/cities/Helsingborg', '/Users/oskar/Desktop/projects/app-helsingborg-guide/cities/Lund', '/Users/oskar/Desktop/projects/app-helsingborg-guide/guide-app' ]

how do i get the extraNodeModules and blockList? i have tried providing current working dir with
getMetroTools( {cwd: ${[path.resolve(__dirname, "../..")][0]}}) to try to point to root dir instead, but im not sure this is correct way to do it.

Any assistance would be appreciated, thanks.

@mxkyb
Copy link

mxkyb commented Nov 11, 2023

Same problem. Has someone solved this?

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

No branches or pull requests

2 participants