node-gyp

    10熱度

    1回答

    我正在編寫本地節點模塊,我希望能夠在發行版和調試版本中構建它。 節點模塊鏈接到另一個庫,該庫在兩個不同的目錄中具有調試版和發行版。 現在,這是我被卡住的地方 - 如何爲正在構建的當前配置指定庫目錄? 我試過設置在configurations.debug.link_settings關鍵,但我得到的錯誤: 「link_settings在調試配置不允許的,在目標發現binding.gyp

    2熱度

    1回答

    嗨我想編譯一個node_modules作爲發佈模式,但我無法成功配置爲發佈模式。 我跑node-gyp configure;在configure.gypi產生 # Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], *

    0熱度

    1回答

    我嘗試編譯模塊,通過默認版本中,我設定在buinding.gyp的 'target_defaults': { 'default_configuration': 'Release' }, 但始終我是BuildType =「調試」 gyp info it worked if it ends with ok gyp info using [email protected] g

    1熱度

    1回答

    我想建立SQLite3模塊到我的項目。 如果我運行NPM安裝sqlite3失敗。這裏是我的npm-debug.log相關: 235 info install [email protected] 236 verbose unsafe-perm in lifecycle true 237 silly exec cmd "/c" "node-gyp rebuild" 238 silly cmd,/

    0熱度

    2回答

    在節點0.8.20 從here 編譯節點插件具有節點GYP,蟒2.7.3和gcc安裝。運行時 node-gyp configure 發生錯誤。下面是誤差輸出: gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | linux | ar

    45熱度

    4回答

    有沒有一種方法可以在npm package.json文件中指定操作系統特定的依賴關係? 例如,如果用戶正在運行Linux,我只想安裝'dbus'(https://npmjs.org/package/dbus)作爲我的模塊的依賴項。我對Mac和Windows會有不同的依賴關係。

    3熱度

    1回答

    我試圖安裝nodetime模塊來分析我的nodejs應用.. 當我run > npm安裝nodetime 的文件被下載。但是當node-gyp重建運行。 我收到以下錯誤消息。 Command failed: CreateProcessW: Access is denied 同樣的事情發生時,當我嘗試下載v8-profiler。 Nodejs ver: 0.8.15 node-gyp: 0.7.1

    0熱度

    1回答

    我想使用CImg庫來處理node.js中的圖像,所以我編寫了一個節點插件來完成它。 編譯成功,我運行node-gyp build commond,沒關係。 但是,當我運行的節點程序,出現如下錯誤: [[email protected] hcaptha]# node index.js module.js:485 process.dlopen(filename, module.expor

    6熱度

    3回答

    是否可以定義一個GYP變量,其值取決於構建配置的選擇?

    6熱度

    1回答

    我搜索了很多,並且我發現這個問題最接近這個(也沒有答案): Symbol not found: _libintl_gettext 我試圖做出libpuzzle薄的C++封裝。 $ node --version v0.8.18 $ npm --version 1.2.4 $ node-gyp --version v0.8.3 Source code on github 極力打造(我的手