[英]Fail to Deploy : Natural Language Classifier Toolkit - Bluemix / IBM watson
有没有人在bluemix上使用自然语言分类器? 我执行以下步骤,但无法部署。 有人经历过吗?
成功创建项目
成功克隆存储库
成功配置管道
部署到Bluemix失败
请求的日志信息-编辑将答案从答案转到问题
这是对Ben Rondeau要求日志的答复。 我的代表点不足,无法将此添加为评论:(
IBMWATSON-NLC-GROUNDTRUTH构建非常广泛,并通过了一系列测试。 设置凉亭似乎有些麻烦,但是最终解决了。 这是失败的构建步骤:
运行“业力:单位”(karma)任务
WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular-route/angular-route.js" does not match any file.
WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/ibmwatson-common-ui-components/dist/ibmwatson-common-ui-components.js" does not match any file.
WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/app/app.coffee" does not match any file.
WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/app/**/*.coffee" does not match any file.
WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/app/**/*.jade" does not match any file.
WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/components/**/*.coffee" does not match any file.
WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/components/**/*.jade" does not match any file.
INFO [karma]: Karma v0.12.37 server started at http://localhost:8080/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket 6VJzDkVVigia7YxR5zfc with id 20079085
PhantomJS 1.9.8 (Linux 0.0.0): Executed 0 of 64 SUCCESS (0 secs / 0 secs)
AKPhantomJS 1.9.8 (Linux 0.0.0) Service: authentication should exist FAILED
Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply')
at instantiate (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4619)
at provider (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4433)
at /home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:365
at forEach (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:335)
at /home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4423
at ngModule (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:2475)
at invoke (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4604)
at runInvokeQueue (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4497)
at /home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4506
at forEach (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:321)
at loadModules (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4529)
at createInjector (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4409)
at workFn (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular-mocks/angular-mocks.js:2799
感谢您报告此问题。 并非在所有情况下都处理对某个库的依赖关系,因此会出现错误。 该问题已解决,现在可以使用更新的源。 请删除为您创建的Bluemix应用程序以及它为您创建的自然语言分类器的实例,然后重试“部署到Bluemix”按钮。 现在,构建/部署过程应该可以正常工作。 抱歉给你带来不便!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.