add-node-modules-path icon indicating copy to clipboard operation
add-node-modules-path copied to clipboard

Can you add support for Windows?

Open kreedz opened this issue 7 years ago • 3 comments
trafficstars

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.

kreedz avatar May 03 '18 11:05 kreedz

Thanks for letting me know. I think I know what might be the cause.

codesuki avatar May 06 '18 22:05 codesuki

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)

codesuki avatar May 16 '18 23:05 codesuki