JetBrains IDE error "Module not installed" when importing @trixtateam/phoenix-to-redux
jeffjenk opened this issue · comments
Describe the bug
When importing this module into a JetBrains IDE project the IDE does not seem to be able to find the module. This is problematic as I lose out on IDE assisted cursor context, hints, code completion etc. I'm not sure if this is something that can be fixed in the module itself. I did find some people have had similar problems with other modules starting with @
(most notably @vue
) in JetBrains IDEs.
To Reproduce
Steps to reproduce the behavior:
- Install
phoenix-to-redux
in project - Attempt to import module in JavaScript
- Observe JetBrains IDE error "Module is not installed"
Expected behavior
When installing this module I expect JetBrains IDE to find the module and provide context for available methods etc.
Desktop (please complete the following information):
- OS: Windows 10
- IDE: PhpStorm 2021.2.4 Build #PS-212.5712.51, built on December 22, 2021
- Version (phoenix-to-js): 4.0.6-beta.0
Additional context
If I find a local setup change that fixes the problem I will feed back.
@jeffjenk yes please. I removed support for esm, until I convert to Typescript and export other versions
@jacqueswho I created PR. Cleanest solution here feels like just removing the module reference from the package.json. Let me know if you have any issues with that. Not sure how to address versioning, please advise.