Not found :(
Sorry, but the page you were trying to view does not exist.
It looks like this was the result of either:
a mistyped address
an out-of-date link
和外壳输出:
duncan@lapdancer:~$ cncjs-app
2018-07-04T22:59:41.621Z - info: init Loading configuration from "/home/duncan/.cncrc"
Error: EACCES: permission denied, mkdir './sessions'
at Object.fs.mkdirSync (fs.js:891:18)
at appMain (/opt/CNCjs/resources/app/app/index.js:10595:22)
at server (/opt/CNCjs/resources/app/app/index.js:7316:38)
at /opt/CNCjs/resources/app/node_modules/webappengine/dist/app/app.multihost.js:132:25
at Array.forEach (<anonymous>)
at Object.appMain [as default] (/opt/CNCjs/resources/app/node_modules/webappengine/dist/app/app.multihost.js:97:31)
at createServer (/opt/CNCjs/resources/app/node_modules/webappengine/dist/app/server.js:62:49)
at serverMain (/opt/CNCjs/resources/app/node_modules/webappengine/dist/app/server.js:114:9)
at createServer (/opt/CNCjs/resources/app/node_modules/webappengine/dist/app/index.js:57:33)
at module.exports (/opt/CNCjs/resources/app/node_modules/webappengine/index.js:13:12)
at Object.createServer (/opt/CNCjs/resources/app/app/index.js:7320:32)
at /opt/CNCjs/resources/app/cnc.js:100:26
at Promise (<anonymous>)
at F (/opt/CNCjs/resources/app/node_modules/core-js/library/modules/_export.js:35:28)
at cnc (/opt/CNCjs/resources/app/cnc.js:96:12)
at _callee$ (/opt/CNCjs/resources/app/main.js:94:50)
2018-07-04T22:59:41.735Z - error: The multi-host server does not exist: {
"type": "server",
"route": "/"
} at /opt/CNCjs/resources/app/node_modules/webappengine/dist/app/app.multihost.js:138:27 id=0, pid=7843
2018-07-04T22:59:41.745Z - info: init Starting the server at http://127.0.0.1:40260
描述
应用程序无法正确启动并显示以下浏览器输出:
和外壳输出:
作为一种(不安全的)解决方法,
strace 指示 cncjs 正在
/opt/CNCjs/resources/app/app
目录中运行。如果我使该目录对 cncjs 进程可写,那么 cncjs 将按预期工作。
我建议
sessions
在~/.cncjs
.
/opt/CNCjs/resources/app/app/index.js:10592
版本
你如何安装CNCjs?
数控系统
硬件
操作系统