将meanjs部署到Bluemix,但总是失败 [英] Deploying meanjs to Bluemix, but always failing

查看:89
本文介绍了将meanjs部署到Bluemix,但总是失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

node-pre-gyp安装--fallback-to-build sh:1:节点预gyp:找不到 npm ERR! Linux 3.19.0-25通用 npm ERR! argv节点""/tmp/staged/app/.heroku/node/bin/npm"重建" npm ERR!节点v0.10.40 npm ERR! npm v3.3.5 npm ERR!文件sh npm ERR!代码ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall产生 npm ERR! v8-debug@0.4.6安装:node-pre-gyp install --fallback-to-build npm ERR!产生ENOENT npm ERR! npm ERR!在v8-debug@0.4.6安装脚本'node-pre-gyp install --fallback-to-build'失败. npm ERR! v8-debug软件包最有可能是这个问题, npm ERR!不与npm本身. npm ERR!告诉作者这在您的系统上失败: npm ERR!节点预gyp安装-回退构建 npm ERR!您可以通过以下方式获取他们的信息: npm ERR! npm owner ls v8-调试 npm ERR!上面可能还有其他日志记录输出. npm ERR!请包含以下文件,并提供任何支持

node-pre-gyp install --fallback-to-build sh: 1: node-pre-gyp: not found npm ERR! Linux 3.19.0-25-generic npm ERR! argv "node" "/tmp/staged/app/.heroku/node/bin/npm" "rebuild" npm ERR! node v0.10.40 npm ERR! npm v3.3.5 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! v8-debug@0.4.6 install: node-pre-gyp install --fallback-to-build npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build'. npm ERR! This is most likely a problem with the v8-debug package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get their info via: npm ERR! npm owner ls v8-debug npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support

推荐答案

除了上述Alex的答案之外,如果您需要调试的功能不只是日志,或者您想使用诸如node-inspector之类的实用程序,或者只是将其封装到您的Bluemix容器中,然后建议您看看Bluemix中的App Management功能.它利用了以下4个实用程序:

In addition to Alex's answer above, if you need the ability to debug more than just logs or if you want to use utilities like node-inspector or if you want to just shell into your Bluemix container, then I suggest you take a look at App Management feature in Bluemix. It takes advantage of the following 4 utilities:

  • devconsole (开发控制台)
  • shell (tty.js)
  • 检查器(节点检查器)
  • HC (健康中心)
  • devconsole (development console)
  • shell (tty.js)
  • inspector (node-inspector)
  • hc (Health Center)

有关更多详细信息,请查看下面发布的博客和视频:

For further details, take a look at the blog and video posted below:

https://developer.ibm .com/bluemix/2015/10/05/advanced-debugging-node-apps-bluemix/

这篇关于将meanjs部署到Bluemix,但总是失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆