jasonnutter/vscode-search-node-modules

Error: Search node_modules: No node_modules folder in this workspace.

chipit24 opened this issue ยท 5 comments

Just installed the extension and I get this error when trying to search:

Error: Search node_modules: No node_modules folder in this workspace.

My node_modules folder is not in the root of my project, but at src/node_modules; could this be the issue?

Yes, the issue is that your node_modules folder is not in the root of your project. I've been considering adding an option to specify this, sounds like it should be added.

Has this already been added?

This has been added in 1.2.0, which is now available to install.

Our project which is a monorepo which contains many node_modules folders. Is there any chance this module would ever support it? Would be very useful.

@borekb I'll take a look at adding that when I get chance to look into the new multi root workspaces.