bae使用nodejs遇到的问题---‘Fix depends failed. Please check requirements.txt.’
2014-02-18 15:32
381 查看
今天尝试了百度开放云里面的nodejs云引擎,部署没有任何问题,修改文件后发现了发布不了,去查看发布设置发现了问题:
Fix depends failed. Please check requirements.txt
后面搜索了一下,发现百度有类似的解释 http://developer.baidu.com/wiki/index.php?title=docs/cplat/bae/faq
里面有说到:
- 1.Fix depends failed. Please check requirements.txt.
- 上述错误由于用户需要下载的依赖包配置文件requirements.txt有误导致,此时需要检查requirements.txt并修改相关内容。
但是没有发现有 requirements.txt 文件?原来这个requirements.txt是python配置依赖项的文件,那么nodejs对应的就是package.json了。
所以所有的问题就出在package.json文件中,先是检查语法,但是没有发现语法错误,后面测试得出,此文件不支持中文。。。。
把中文换成英文就行了
相关文章推荐
- 使用ACE日志策略时遇到的问题:DLL::open failed for ACE: Error: check log for details Unable to find service 'Logger'
- 安装VisualSVN时遇到的问题-Service ‘VisualSVN Server’ failed to start. Please check VisualSVN Server log in Event Viewer for more details.
- 使用MSChart时遇到的txt文件不能访问的问题
- 使用SmartSvn遇到的一个小问题: E175002: OPTIONS request failed
- 解决 Your project contains error(s),please fix them before running your application问题 貌似好多人都有遇到这问题,而且网
- 使用Spring JDBC时遇到的Software caused connection abort: recv failed问题
- nodejs安装遇到npm命令无法使用问题
- 遇到IOError: CRC check failed这样的问题的可能解决方法
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- 编译安装php-5.6.19出现的问题configure: error: mysql configure failed. Please check config.log
- 使用ubuntu遇到的问题-An error occurred,please run Package Manager...
- 使用Spring JDBC时遇到的Software caused connection abort: recv failed问题
- 使用NodeJS、GruntCLI遇到的问题
- SVN在windows上使用check-case-insensitive.py遇到的问题(Python2.5,svn1.5.4)
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- 问题:build test failed. Please check the config.log for details.
- nodejs使用中遇到的问题
- Sublime-Txt2篇之使用至今所遇到的问题及解决方法
- 使用NodeJS、GruntCLI遇到的问题
- BAE添加部署后使用git上传代码遇到的问题