node: could not initialize ICU (check NODE_ICU_DATA or --icu-data-dir parameters)

北城以北 提交于 2019-12-01 16:15:58

You need to run npm install including the full-icu package. It's full-icu's postinstall step which downloads the appropriate bits for the currently executing node. Note that multiple files may show up in the full-icu directory, that's OK.

If you already had full-icu installed, but did upgrade node in between:

npm rebuild does fix the issue.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!