Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译安装的方法 #9

Open
oxUnd opened this issue Dec 2, 2015 · 0 comments
Open

编译安装的方法 #9

oxUnd opened this issue Dec 2, 2015 · 0 comments

Comments

@oxUnd
Copy link
Owner

oxUnd commented Dec 2, 2015

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

  • 安装依赖

    本模块依赖若干 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
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant