1

An issue similar to this post: node: could not initialize ICU (check NODE_ICU_DATA or --icu-data-dir parameters)

I get the same error message:"node: could not initialize ICU (check NODE_ICU_DATA or --icu-data-dir parameters" with the fresh node installation. It is a brand new computer with Windows 10 Pro system version 10.0.17763 Build 17763. I have tried installing version 10.16.0 LTS and version 12.6.0 current from node.js website. In both cases I have exactly the same error, does not matter if I run as admin or a normal user. I cannot use the solutions described above as npm will not run (same error). I have no idea what to do next.

M.G.
  • 65
  • 10

1 Answers1

0

I managed to sort it out. As it turns out, other software was using the environment variable: NODE_ICU_DATA.
I have removed NODE_ICU_DATA variable, restarted computer and installed node again.
It is working fine now.

M.G.
  • 65
  • 10