zoukankan      html  css  js  c++  java
  • vue-admin-template 报错 This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead.

    采用别人写好的 vue-admin-template 框架。

    (https://panjiachen.gitee.io/vue-admin-template)

    npm install 

    报错: This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead.

    原因:github.com 网站无法访问。

    解决方案:

    1、长久方案:修改hosts文件

    https://www.cnblogs.com/hao-1234-1234/p/12376569.html

    2、临时方案:让同事把他好的node_modules 文件拷贝一份到你这!

    有用的报错提示部分:

    Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-72_binding.node
    Cannot download "https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-72_binding.node":
    
    connect ETIMEDOUT 13.229.188.59:443
    
    Timed out whilst downloading the prebuilt binary
    
    Hint: If github.com is not accessible in your location
          try setting a proxy via HTTP_PROXY, e.g.
    
          export HTTP_PROXY=http://example.com:1234
    
    or configure npm proxy via
    
          npm config set proxy http://example.com:8080
    

      

    翻译:

    从https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-72_binding.node下载二进制文件

    无法下载“https://github.com/sass/node sass/releases/download/v4.13.1/win32-x64-72_binding.node”:

    连接ETIMEDOUT 13.229.188.59:443

    下载预构建二进制文件时超时

    提示:如果您所在的位置无法访问github.com

    尝试通过HTTP_proxy设置代理,例如。

    导出HTTP_PROXY=HTTP://example.com:1234

    或通过配置npm代理

    npm配置集代理http://example.com:8080

  • 相关阅读:
    iptables 详解
    Linux Crontab 定时任务命令详解
    Linux下查看历史操作记录
    Linux shell if 参数
    Linux的五个查找命令:find,locate,whereis,which,type
    linux下IPTABLES配置详解
    Linux命令之while Bash中的While循环
    日志分割脚本
    详解 Too many open files
    微软停止对WindowsNT4.0系统提供无偿的支持
  • 原文地址:https://www.cnblogs.com/hao-1234-1234/p/12371754.html
Copyright © 2011-2022 走看看