diff --git a/app.py b/app.py index 79ea9ae..a9b5b23 100644 --- a/app.py +++ b/app.py @@ -77,8 +77,10 @@ class AppLauncher: def check_npm_installed(self): """Check if npm is installed""" try: + # Use npm.cmd on Windows, npm on Unix + npm_cmd = 'npm.cmd' if self.is_windows else 'npm' result = subprocess.run( - ['npm', '--version'], + [npm_cmd, '--version'], capture_output=True, text=True, check=True