Code Monkey home page Code Monkey logo

Comments (21)

tongyao avatar tongyao commented on August 16, 2024

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.

zhhigh avatar zhhigh commented on August 16, 2024

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.

ganxun1 avatar ganxun1 commented on August 16, 2024

请使用npm install -g sumeru命令安装sumeru
然后使用sumeru init ./myproject创建一个工程,(注意在实际运行工程之前请先安装mongodb)
在工程文件夹下使用sumeru start 命令启动sumeru
在浏览器中输入: localhost:8080/debug.html#/itworks 访问

看看是否还会出险你说的问题

from cloudajs.

zhhigh avatar zhhigh commented on August 16, 2024

不行啊。换了一台机器。linux 32bit的,问题依旧。绝对按照操作步骤来的。在浏览器中输入: localhost:8080/debug.html#/itworks ,什么也没有?有没有人愿意登录来帮忙看看?有的话邮件我,谢谢!

from cloudajs.

speedFeng avatar speedFeng commented on August 16, 2024

我也出现了同样的问题。
按照文档的操作
一开始安装sumeru之后,一直无法启动,找了很久发现需要安装mongodb才能启动。(希望文档能写清楚啊!)
启动了之后,遇到了同样的问题:
打开localhost:8080/debug.html#/itworks之后,没有 welcome to sumeru
而此时网页一直在get 8082端口 状态一直是aborted .

from cloudajs.

ganxun1 avatar ganxun1 commented on August 16, 2024

在上面回复中提到了“(注意在实际运行工程之前请先安装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.

ganxun1 avatar ganxun1 commented on August 16, 2024

sumeru版本:0.7.13

from cloudajs.

zhhigh avatar zhhigh commented on August 16, 2024

Node Version:v0.10.5
sumeru version:0.7.13
我的环境,两台机器都这样的环境,都不行。我已经申请了bae,我在bae上试试。悲剧!

from cloudajs.

speedFeng avatar speedFeng commented on August 16, 2024

Node version : v0.10.10
sumeru : 0.7.13
环境 ubuntu 12.04 lts

from cloudajs.

ganxun1 avatar ganxun1 commented on August 16, 2024

你可以把工程包发给我吗?我好看看问问在哪?邮箱:[email protected]

from cloudajs.

speedFeng avatar speedFeng commented on August 16, 2024

使用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.

zhhigh avatar zhhigh commented on August 16, 2024

对,使用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.

speedFeng avatar speedFeng commented on August 16, 2024

工程包已经发你邮箱 请查收

from cloudajs.

zhhigh avatar zhhigh commented on August 16, 2024

好,我试试!!
完全按照说明操作的!不知道哪个环节有问题,可能是我人品?

发件人: 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.

zhhigh avatar zhhigh commented on August 16, 2024

没收到??

在 2013-06-06 18:34:31,speedFeng [email protected] 写道:

工程包已经发你邮箱 请查收


Reply to this email directly or view it on GitHub.

from cloudajs.

speedFeng avatar speedFeng commented on August 16, 2024

啊?我发的是ganxun1.

from cloudajs.

zhhigh avatar zhhigh commented on August 16, 2024

ganxun1传了一个包给我,可以了。我自己用sumeru init生成的包明显小很多。谢谢ganxun1,很晚了都在帮助解决问题。我关了先。

from cloudajs.

speedFeng avatar speedFeng commented on August 16, 2024

麻烦能不能传一个给我 ?

from cloudajs.

ganxun1 avatar ganxun1 commented on August 16, 2024

已经发送给你了,麻烦把你们使用 sumeru inti 的工程发给我一下!

from cloudajs.

ganxun1 avatar ganxun1 commented on August 16, 2024

你好!sumeru版本已更新,请使用 sudo npm update -g sumeru 更新sumeru的版本修复上面的问题

如果是已经init的工程,请修改 app/config/sumeru.js 文件, 将" 80 : 8082;" 改成 "80 : 8081;"

即可访问itworks demo

from cloudajs.

greenplumm avatar greenplumm commented on August 16, 2024

image
win8 64bit 系统 无法正常浏览itworks demo
出现如上图的问题 ,请教了

from cloudajs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.