账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    RAP2 安装问题
    25
    0

    安装的软件地址: https://github.com/thx/rap2-d...
    git clone下载后,运行npm install报以下错误

    npm http 304 https://registry.npmjs.org/ts...
    npm http 404 https://registry.npmjs.org/ty...
    npm ERR! TypeError: Cannot read property 'latest' of undefined
    npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
    npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
    npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
    npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
    npm ERR! at Object.oncomplete (fs.js:108:15)
    npm ERR! If you need help, you may report this log at:
    npm ERR! http://github.com/isaacs/npm/...
    npm ERR! or email it to:
    npm ERR! <npm-@googlegroups.com>

    npm ERR! System Linux 2.6.32-431.23.3.el6.x86_64
    npm ERR! command "node" "/usr/bin/npm" "install"
    npm ERR! cwd /rap2-delos
    npm ERR! node -v v0.10.48
    npm ERR! npm -v 1.3.6
    npm ERR! type non_object_property_load
    npm http 404 https://registry.npmjs.org/ty...
    npm ERR! TypeError: Cannot read property 'latest' of undefined
    npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
    npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
    npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
    npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
    npm ERR! at Object.oncomplete (fs.js:108:15)
    npm ERR! If you need help, you may report this log at:
    npm ERR! http://github.com/isaacs/npm/...
    npm ERR! or email it to:
    npm ERR! <npm-@googlegroups.com>

    npm ERR! System Linux 2.6.32-431.23.3.el6.x86_64
    npm ERR! command "node" "/usr/bin/npm" "install"
    npm ERR! cwd /rap2-delos
    npm ERR! node -v v0.10.48
    npm ERR! npm -v 1.3.6
    npm ERR! type non_object_property_load
    npm http 404 https://registry.npmjs.org/ty...
    npm ERR! TypeError: Cannot read property 'latest' of undefined
    npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
    npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
    npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
    npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
    npm ERR! at Object.oncomplete (fs.js:108:15)
    npm ERR! If you need help, you may report this log at:
    npm ERR! http://github.com/isaacs/npm/...
    npm ERR! or email it to:
    npm ERR! <npm-@googlegroups.com>

    npm ERR! System Linux 2.6.32-431.23.3.el6.x86_64
    npm ERR! command "node" "/usr/bin/npm" "install"
    npm ERR! cwd /rap2-delos
    npm ERR! node -v v0.10.48
    npm ERR! npm -v 1.3.6
    npm ERR! type non_object_property_load
    npm http 404 https://registry.npmjs.org/ty...
    npm ERR! TypeError: Cannot read property 'latest' of undefined
    npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
    npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
    npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
    npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
    npm ERR! at Object.oncomplete (fs.js:108:15)
    npm ERR! If you need help, you may report this log at:
    npm ERR! http://github.com/isaacs/npm/...
    npm ERR! or email it to:
    npm ERR! <npm-@googlegroups.com>

    npm ERR! System Linux 2.6.32-431.23.3.el6.x86_64
    npm ERR! command "node" "/usr/bin/npm" "install"
    npm ERR! cwd /rap2-delos
    npm ERR! node -v v0.10.48
    npm ERR! npm -v 1.3.6
    npm ERR! type non_object_property_load
    npm http 404 https://registry.npmjs.org/ty...
    npm ERR! TypeError: Cannot read property 'latest' of undefined
    npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
    npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
    npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
    npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
    npm ERR! at Object.oncomplete (fs.js:108:15)
    npm ERR! If you need help, you may report this log at:
    npm ERR! http://github.com/isaacs/npm/...
    npm ERR! or email it to:
    npm ERR! <npm-@googlegroups.com>

    npm ERR! System Linux 2.6.32-431.23.3.el6.x86_64
    npm ERR! command "node" "/usr/bin/npm" "install"
    npm ERR! cwd /rap2-delos
    npm ERR! node -v v0.10.48
    npm ERR! npm -v 1.3.6
    npm ERR! type non_object_property_load
    npm http 404 https://registry.npmjs.org/ty...
    npm ERR! TypeError: Cannot read property 'latest' of undefined
    npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
    npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
    npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
    npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
    npm ERR! at Object.oncomplete (fs.js:108:15)
    npm ERR! If you need help, you may report this log at:
    npm ERR! http://github.com/isaacs/npm/...
    npm ERR! or email it to:
    npm ERR! <npm-@googlegroups.com>

    npm ERR! System Linux 2.6.32-431.23.3.el6.x86_64
    npm ERR! command "node" "/usr/bin/npm" "install"
    npm ERR! cwd /rap2-delos
    npm ERR! node -v v0.10.48
    npm ERR! npm -v 1.3.6
    npm ERR! type non_object_property_load
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR! /rap2-delos/npm-debug.log
    npm ERR! not ok code 0

    请问有没有人部署过个这个应用?以上问题是什么原因?怎么解决?

    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • 独孤柳 普通会员 1楼

      Rap2是一款强大的编程语言包管理器,用于在多个系统上安装和管理各种Python库。如果你在安装Rap2时遇到问题,这可能是因为你的系统中没有安装Python或pip。

      首先,确保你的系统中已经安装了Python。你可以通过运行以下命令来检查:

      python --version

      如果你没有安装Python,你需要先安装它。你可以从Python官方网站下载适合你操作系统的Python版本。

      如果你已经安装了Python,但仍然遇到问题,你可以尝试安装pip。你可以通过运行以下命令来安装pip:

      pip install pip

      如果你仍然无法安装pip,你可能需要更新你的系统包列表。你可以使用以下命令来更新你的系统包列表:

      sudo apt-get update

      如果以上步骤都无法解决问题,你可能需要查看Rap2的官方文档或者寻求专业的帮助。

    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部