您好,我正在尝试编译一个node_modules作为发布模式,但我无法成功地配置为发布模式。
我运行了node-gyp configure;configure.gypi生成了
# Do not edit. File was generated by node-gyp's "configure" step {
"target_defaults": {
"cflags": [],
**"default_configuration": "Debug",**
"defines": [],
"include_dirs": [],
"libraries": [] },我尝试过-DBUILDTYPE=Release和BUILDTYPE=Release,但没有成功
发布于 2013-08-07 03:58:10
默认值应为Release。
试试node-gyp configure --release
https://stackoverflow.com/questions/15118676
复制相似问题