Code Monkey home page Code Monkey logo

Comments (6)

shanewei avatar shanewei commented on August 16, 2024

你确定是按照上传到BAE的步骤了操作的么?
你看下这一步你修改正确了吗?
(12)修改app/config/sumeru.js文件

将第7行
location.hostname + ':' + socketPort + '/socket/' : '';
修改成:
location.hostname + '/socket/' : '';

还有 你可以试试在 app/controller/tdmarquee.js 里加上sumeru.router.setDefault('App.tdmarquee');

然后点击直接试试http://goodaward.duapp.com/

from cloudajs.

shanewei avatar shanewei commented on August 16, 2024

如果你试试http://goodaward.duapp.com/debug.html#/tdmarquee
这样的话 你地址就不会出现你上面的错误了 但是还是访问不了 你可以再看看你代码

from cloudajs.

gumutianqi avatar gumutianqi commented on August 16, 2024

我确认是安装正确步骤修改了app/config/sumeru.js文件的,css样式都是出来了的,js等资源都有,就是不出现html页面,有一个问题是我运行node runBuild.js后,生成的bae里面全是空文件夹,正常么

from cloudajs.

ganxun1 avatar ganxun1 commented on August 16, 2024

正常的,我看了一下你的debug.html中有异常,好像引入的js和css不对,你仔细对照一下 init工程的文件

from cloudajs.

gumutianqi avatar gumutianqi commented on August 16, 2024

多加了一个js,严格按照init工程的引入来了,重新上传了,还是没有变化呢,debug模式也看不到问题在哪里,麻烦再帮忙看一下

from cloudajs.

gumutianqi avatar gumutianqi commented on August 16, 2024

问题已经解决,看错了mongodb的dbname的位置,是第12行,大家注意下

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.