我正在尝试在OpenShift上部署名为Jingo的Node.js Wiki :
Error: Cannot find module '../build/Debug/iconv.node'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/var/lib/openshift/550a72cf5973cac5c10000ca/app-root/runtime/repo/node_modules/icon
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
DEBUG: Program node jingo -c config.yaml exited with code 8
Run Code Online (Sandbox Code Playgroud)
我已尝试在命令行运行node-gyp configure和node-gyp build,但我没有足够的权限.我也尝试在package.json文件中包含node-gyp configure和node-gyp build作为安装脚本但是得到以下错误:
remote: > node-gyp configure; node-gyp build
remote:
remote: gyp info it worked if it ends with ok
remote: gyp info using node-gyp@0.12.2
remote: gyp info …Run Code Online (Sandbox Code Playgroud)