Comments (21)
Please follow the update instruction to get the latest version and give a try.
If problem is still present, please let us know your platform.
OS:
Node Version:
What command you had been using to start the project:
from cloudajs.
OS:Linux version 2.6.32-358.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013
Node Version:v0.10.5
sumeru version:0.7.13
在FileServer.js里,有这样一行:filePath = localBase +"/bin"+ filePath,去掉/bin后,重启,/bin/bin/view/itworks.html路径正常,但welcome to sumeru仍然有问题。我看启动信息里有:SockJS v0.3.5 bound to "/socket",但是这个端口我绑定的是8082,结果发现:GET http://xxx:8082/socket/info 这个一直出错。难道与这个有关?我配置文件里面:var socketPort = (typeof process !== 'undefined' && typeof process.BAE !== 'undefined') ? 80:8082 ;
我用:debug.html#/itworks 和index.html#/itworks都不行。
console.log有这样一个信息:Application Cache Progress event (3 of 6) http://xxxx/bin/view/itworks.html,这个链接进去可以看到welcome to sumeru。
凌乱了,求解。谢谢!另,我没有用bae,用的自己的服务器。
from cloudajs.
请使用npm install -g sumeru命令安装sumeru
然后使用sumeru init ./myproject创建一个工程,(注意在实际运行工程之前请先安装mongodb)
在工程文件夹下使用sumeru start 命令启动sumeru
在浏览器中输入: localhost:8080/debug.html#/itworks 访问
看看是否还会出险你说的问题
from cloudajs.
不行啊。换了一台机器。linux 32bit的,问题依旧。绝对按照操作步骤来的。在浏览器中输入: localhost:8080/debug.html#/itworks ,什么也没有?有没有人愿意登录来帮忙看看?有的话邮件我,谢谢!
from cloudajs.
我也出现了同样的问题。
按照文档的操作
一开始安装sumeru之后,一直无法启动,找了很久发现需要安装mongodb才能启动。(希望文档能写清楚啊!)
启动了之后,遇到了同样的问题:
打开localhost:8080/debug.html#/itworks之后,没有 welcome to sumeru
而此时网页一直在get 8082端口 状态一直是aborted .
from cloudajs.
在上面回复中提到了“(注意在实际运行工程之前请先安装mongodb)”,而且在“environment_prepare.md”提到了在运行应用之前“需要安装并启动mongoDB,并保持在后台运行”,我们会在文档中在强调一下,感谢 "speedFeng" 的建议;
我刚刚测试了一下,测试系统是MAC系统,操作如下:
在mongodb/bin 目录下使用 “sudo ./mongod -dbpath ../data/db ”启动mongoDB并保持在后台运行,
然后使用“ sumeru init ./test ”初始化一个工程, 进入工程目录使用 “sumeru start” 启动,
在浏览器中输入 "http://localhost:8080/debug.html#/itworks" ,在网页中出险"welcome to suemru!"
请把你的工程文件和操作步骤,运行环境发给我,我测试一下,看看问题出在什么地方!
from cloudajs.
sumeru版本:0.7.13
from cloudajs.
Node Version:v0.10.5
sumeru version:0.7.13
我的环境,两台机器都这样的环境,都不行。我已经申请了bae,我在bae上试试。悲剧!
from cloudajs.
Node version : v0.10.10
sumeru : 0.7.13
环境 ubuntu 12.04 lts
from cloudajs.
你可以把工程包发给我吗?我好看看问问在哪?邮箱:[email protected]
from cloudajs.
使用sumeru init webRoot 创建的工程.
On Thu, Jun 6, 2013 at 6:12 PM, ganxun1 [email protected] wrote:
你可以把工程包发给我吗?我好看看问问在哪?邮箱:[email protected]
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-19036039
.
from cloudajs.
对,使用sumeru init 来创建的工程
发件人: speedFeng
发送时间: 2013-06-06 18:24
收件人: brandnewera/sumeru
抄送: zhhigh
主题: Re: [sumeru] 访问路径问题 /bin/bin/view/itworks.html (#8)
使用sumeru init webRoot 创建的工程.
On Thu, Jun 6, 2013 at 6:12 PM, ganxun1 [email protected] wrote:
你可以把工程包发给我吗?我好看看问问在哪?邮箱:[email protected]
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-19036039
.
—
Reply to this email directly or view it on GitHub.
from cloudajs.
工程包已经发你邮箱 请查收
from cloudajs.
好,我试试!!
完全按照说明操作的!不知道哪个环节有问题,可能是我人品?
发件人: speedFeng
发送时间: 2013-06-06 18:34
收件人: brandnewera/sumeru
抄送: zhhigh
主题: Re: [sumeru] 访问路径问题 /bin/bin/view/itworks.html (#8)
工程包已经发你邮箱 请查收
—
Reply to this email directly or view it on GitHub.
from cloudajs.
没收到??
在 2013-06-06 18:34:31,speedFeng [email protected] 写道:
工程包已经发你邮箱 请查收
—
Reply to this email directly or view it on GitHub.
from cloudajs.
啊?我发的是ganxun1.
from cloudajs.
ganxun1传了一个包给我,可以了。我自己用sumeru init生成的包明显小很多。谢谢ganxun1,很晚了都在帮助解决问题。我关了先。
from cloudajs.
麻烦能不能传一个给我 ?
from cloudajs.
已经发送给你了,麻烦把你们使用 sumeru inti 的工程发给我一下!
from cloudajs.
你好!sumeru版本已更新,请使用 sudo npm update -g sumeru 更新sumeru的版本修复上面的问题
如果是已经init的工程,请修改 app/config/sumeru.js 文件, 将" 80 : 8082;" 改成 "80 : 8081;"
即可访问itworks demo
from cloudajs.
win8 64bit 系统 无法正常浏览itworks demo
出现如上图的问题 ,请教了
from cloudajs.
Related Issues (20)
- touchjs 如果用事件代理 event对象拿不到触发事件的dom
- 怎么开启debug模式 HOT 1
- 点击链接时跳转太快 HOT 2
- 请问clouda在windows平台可以使用吗? HOT 2
- 关于clouda的一些问题(急)!!! HOT 1
- sumeru.collection.create的API说明真当没问题么? HOT 1
- html缓存问题 HOT 1
- sumeru start .... NON BAE MODE
- 求救,关于clouda的文件上传疑问 HOT 1
- 0.10.4 用户登陆,在刷新页面之后不能持久化 HOT 1
- 在controller怎么为session绑定自定义数据?
- 是否考虑支持不同数据源
- view 层最好支持自定义模板,比如支持jade,ejs等等
- expand Validation in Model HOT 1
- 有一个问题感觉很奇怪 HOT 4
- 如何加载font-awesome等第三方图标库
- Android 的QQ浏览器支持问题
- 403 -Forbidden 安卓手机运行轻应用调试时总是出现这个问题 HOT 2
- touch.js的swipe在锤子手机原生浏览器上不能使用 HOT 2
- touchjs的touch.config的使用问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudajs.