@ types / node @ ^ 8.0.7的npm WARN tarball tarball数据似乎已损坏

时间:2019-04-10 09:39:21

标签: ionic-framework ubuntu-18.04

我尝试使用npm安装ionic并导致以下错误:

$ sudo npm install -g ionic
npm WARN tarball tarball data for @types/node@^8.0.7 (sha512-tGVTbA+i3qfXsLbq9rEq/hezaHY55QxQLeXQL2ejNgFAxxrgu8eMmYIOsRcl7hN1uTLVsKOOYacV/rcJM3sfgQ==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for xdg-basedir@^3.0.0 (sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for superagent@^4.1.0 (sha512-FT3QLMasz0YyCd4uIi5HNe+3t/onxMyEho7C3PSqmti3Twgy2rXT4fmkTz6wRL6bTF4uzPcfkUCa8u4JWHw8Ag==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for ws@^6.0.0 (sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for @ionic/utils-fs@1.2.0 (sha512-31RPQlxfaIPf3QQgHZGLEDPZrf+AQY0CNgReCp+qZ1pm6mWvOerH17QOSylzcun0J3gPBt1EgiTHRcVJrLljPA==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for readable-stream@^2.0.2 (sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for readable-stream@^2.0.2 (sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for rxjs@^6.4.0 (sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw==) seems to be corrupted. Trying one more time.

1 个答案:

答案 0 :(得分:0)

这可能会晚一些,以帮助其他人降落在这里

尝试df2 <- df %>% #Create variables indicating decrease from BL mutate(mJSW_BLto12 = mJSW_BL - mJSW_12, mJSW_BLto24 = mJSW_BL - mJSW_24, mJSW_BLto36 = mJSW_BL - mJSW_36) %>% #JSN case - decrease by 0.7 from BL mutate(JSNCASE_12 = (mJSW_BLto12>=0.7), JSNCASE_24 = (mJSW_BLto24>=0.7), JSNCASE_36 = (mJSW_BLto36>=0.7)) %>% rowwise() %>% #Which timepoint did JSN first occur? mutate(JSNCASE_TP = sum(12*JSNCASE_12, 24*(JSNCASE_24 & (!JSNCASE_12| is.na(JSNCASE_12))), 36*(JSNCASE_36 & ((!JSNCASE_12 | is.na(JSNCASE_12)) & (!JSNCASE_24 | is.na(JSNCASE_24)))), na.rm=TRUE))

然后npm cache clean --force

问题出在您的NPM不是离子型