valentinnodan / mdx-intellij-plugin

MIT License
8 stars 2 forks source link

Incorrect "Module not installed" error when using with `yarn` workspace #25

Closed hieucd04 closed 2 years ago

hieucd04 commented 2 years ago

This error starts happening after I upgrade Rider to 2022.1. It was working fine before.

Start from current directory, this plugin looks for node_modules folder and if it doesn't find one, it will walk up directory chain and continue looking until reaching root.

The problem now is that it stops at the first node_modules folder it can find which is causing problem because in yarn workspace, modules are hoisted to the root to reduce duplicate.

hieucd04 commented 2 years ago

Fixed in 2022.1.1