Ibm cloud 试图在Bluemix中部署ibmwatsonnlc并得到错误:EACCES,mkdir'/opt/IBM/node/share/man/man3';错误(每次)

Ibm cloud 试图在Bluemix中部署ibmwatsonnlc并得到错误:EACCES,mkdir'/opt/IBM/node/share/man/man3';错误(每次),ibm-cloud,ibm-watson,Ibm Cloud,Ibm Watson,我已经创建了IBMWatson自然语言处理器服务,并且正在尝试部署培训应用程序。它创建项目、克隆存储库并配置管道,但在“部署到Bluemix”步骤中出错 错误是: Cloning the 'master' branch from repo 'https://P90MSG01:3041/git/esilky/ibmwatson-nlc-groundtruth-esilky-952' /opt/IBM/node/bin/npm -> /opt/IBM/node/lib/node_modules

我已经创建了IBMWatson自然语言处理器服务,并且正在尝试部署培训应用程序。它创建项目、克隆存储库并配置管道,但在“部署到Bluemix”步骤中出错

错误是:

Cloning the 'master' branch from repo 'https://P90MSG01:3041/git/esilky/ibmwatson-nlc-groundtruth-esilky-952'
/opt/IBM/node/bin/npm -> /opt/IBM/node/lib/node_modules/npm/bin/npm-cli.js
npm ERR! Error: EACCES, mkdir '/opt/IBM/node/share/man/man3'
npm ERR!  { [Error: EACCES, mkdir '/opt/IBM/node/share/man/man3']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/opt/IBM/node/share/man/man3' }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.13.0-52-generic
npm ERR! command "/opt/IBM/node/bin/node" "/opt/IBM/node/bin/npm" "install" "npm@2.14.4" "-g"
npm ERR! cwd /home/pipeline/6abb55b0-7254-4bc1-8d74-aa4550db9b1b
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /opt/IBM/node/share/man/man3
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/opt/IBM/node/share/man/man3'
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pipeline/6abb55b0-7254-4bc1-8d74-aa4550db9b1b/npm-debug.log
npm ERR! not ok code 0

Finished: ERRORED

需要做些什么来解决这个问题?

看起来您的问题已经得到了回答

根据Patrick Wagstrom的说法,该问题于2015年12月7日得到解决

如果您今天尝试部署NLC工具包,它将起作用。

NLC工具包:

Silky,您正试图写入一个您没有写入权限的目录(
/opt
)。解决方案是这样的:“请以root/Administrator身份再次尝试运行此命令”。谢谢你,比尔,但我不知道该怎么做。Watson NLC Toolkit有一个按钮,上面写着:当您单击Deploy to Bluemix按钮时,将执行以下步骤:提示您登录Bluemix或创建帐户。创建Bluemix DevOps服务项目,并初始化Git存储库。ibmwatson nlc groundtruth项目被克隆到Git存储库中。您的应用程序副本已生成。创建了Cloudant NoSQL DB服务和自然语言分类器Bluemix服务。工具箱应用程序已部署到Bluemix。我刚刚重试,但仍然收到“部署失败”消息。下面是日志的结尾:>节点-sass@3.3.3postinstall/home/pipeline/0295fcf4-1990-408b-bf75-5b8a34dae30c/node_modules/node sass>node scripts/build.js`/home/pipeline/0295fcf4-1990-408b-bf75-5b8a34dae30c/node_modules/node sass/vendor/linux-x64-11/binding.node`存在。正在测试二进制文件。二元是好的;退出。npm错误!我从没打过电话!npm错误!不正常代码0已完成:失败