我正在尝试安装expo-cli,但是由于某些原因,我正在收到此错误。
npm WARN deprecated joi@14.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features,bug fixes,and security patches. If you are unable to upgrade at this time,paid support is available for older versions (hapi.im/commercial).
npm ERR! Unexpected end of JSON input while parsing near '...":{"caniuse-db":"^1.0'
我也尝试 npm install expo-cli -g --unsafe-perm
npm install expo-cli -g --unsafe-perm = true --allow-root
但是这也不起作用。我该如何解决这个问题?