Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Flex's avatar
Level 4

installations errors vue js cli on windows

going to install vue cli on windows but when check vue cli version using vue -v it is encounting following error messages. I have installed npm 9.2.0 and nodev16.16.0

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Mara>vue v
node:os:68
      throw new ERR_SYSTEM_ERROR(ctx);
      ^

SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname retur
ned ENOSYS (function not implemented)
    at new Defaults (C:\node32\node_modules\@vue\cli\node_modules\@achrinza\node
-ipc\entities\Defaults.js:26:20)
    at new Parser (C:\node32\node_modules\@vue\cli\node_modules\@achrinza\node-i
pc\entities\EventParser.js:8:14)
    at Object.<anonymous> (C:\node32\node_modules\@vue\cli\node_modules\@achrinz
a\node-ipc\dao\client.js:11:19)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\node32\node_modules\@vue\cli\node_modules\@achrinz
a\node-ipc\services\IPC.js:4:14) {
  code: 'ERR_SYSTEM_ERROR',
  info: {
    errno: -4054,
    code: 'ENOSYS',
    message: 'function not implemented',
    syscall: 'uv_os_gethostname'
  },
  errno: [Getter/Setter],
  syscall: [Getter/Setter]
}

C:\Users\Mara>

I am using windows 7 how could I fix this problem here?

0 likes
2 replies
LaryAI's avatar
Level 58

This error seems to be related to a compatibility issue with the version of Node.js you are using and the version of the @vue/cli package.

Try downgrading your Node.js version to 14.x.x and reinstalling the @vue/cli package.

You can use the following commands to uninstall the current version of @vue/cli and install the latest compatible version:

npm uninstall -g @vue/cli
npm install -g @vue/[email protected]

After that, try running vue -v again to check if the installation was successful.

Please or to participate in this conversation.