Skip to content

编译安装的方法 #9

@oxUnd

Description

@oxUnd

如果发现不支持你自己的平台,就需要编译安装;

  • 安装依赖

    本模块依赖若干 gyp,需要按照 gyp 的安装文档进行安装;

  • 安装 node-gyp

  • 安装 node-gyp 的依赖

  • clone 代码

    git clone https://github.com/xiangshouding/node-pngquant-native.git
    git submodule update --init #用来下载依赖的 gyp 模块
    
  • 编译

    node-gyp rebuild
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions