add-node-modules-path
add-node-modules-path copied to clipboard
Can you add support for Windows?
Based on my attempt to run emacs with the same configuration on Linux and Windows I assume it doesn't support Windows, so can I ask you to add that feature?
Actually it's working only in one case. For example, if the file is a descendant of ~ (on my Windows machine it's a C:\Users\<SomeUserName>\AppData\Roaming). Otherwise emacs is hanging, C-g helps to break that freezing.
As a workaround if you want to work with code that located at another place you can create in the HOME directory (~) the directory junction to that code.
Thanks for letting me know. I think I know what might be the cause.
I will add some check to at least not break on windows. To add proper windows support we would need to check global npm_modules in %APPDATA%/npm, which I don't have the time to add and debug. But if you want to add it, feel free to send a PR. (I don't have a windows machine available)