[英]Cube.js server is listening on 4000, but Cannot GET UI
I try to follow this article: https://statsbot.co/blog/angular-dashboard-tutorial-with-cubejs/我尝试关注这篇文章: https://statsbot.co/blog/angular-dashboard-tutorial-with-cubejs/
Everything looks fine, I set environments (I use postgresql DB), started cubejs server, it is listening on 4000.一切看起来都很好,我设置了环境(我使用 postgresql DB),启动了 cubejs 服务器,它正在监听 4000。
nmuser$ npm run dev
nmuser$ npm 运行开发
ng-demo@0.0.1 dev /Users/nmuser/Analytics/ng-demo node index.js
ng-demo@0.0.1 dev /Users/nmuser/Analytics/ng-demo node index.js
Cube.js server is listening on 4000
Cube.js 服务器正在监听 4000
But when I access http://localhost:4000/ , there is error:但是当我访问http://localhost:4000/时,出现错误:
Cannot GET /
不能获取 /
Is anybody here who can help me?有人可以帮助我吗? I am very new in cubjs, so please ask me question, because I am not sure what I should mention.
我是cubjs的新手,所以请问我问题,因为我不确定我应该提什么。 What I miss?
我想念什么?
It means Cube.js server is running in production mode.这意味着 Cube.js 服务器正在生产模式下运行。 Please unset
NODE_ENV
variable or run server in development mode explicitly:请取消设置
NODE_ENV
变量或显式在开发模式下运行服务器:
$ NODE_ENV=development npm run dev
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.