Closed rchl closed 3 years ago
I haven't tried it on Windows 7. Are you able to test it @jfcherng ?
Update:
def node_env(self) -> Optional[Dict[str, str]]:
if IS_WINDOWS_7_OR_LOWER:
env = os.environ.copy()
env.update({'NODE_SKIP_PLATFORM_CHECK': '1'})
return env
return None
fixes it. Now, LSP-json/css/html works on my clean Win7 VM. 🎆
Apart from that weird test fail, I am fine with the current state.
For Windows 7 and lower set the NODE_SKIP_PLATFORM_CHECK=1 to allow it to work.
Fixes #78