Coder Social home page Coder Social logo

zhengguorong / h5maker Goto Github PK

View Code? Open in Web Editor NEW
910.0 37.0 332.0 56.44 MB

h5编辑器类似maka、易企秀 账号/密码:admin

Home Page: http://h5.limesoftware.cn

License: Other

JavaScript 35.76% CSS 5.35% HTML 8.82% Vue 50.06%
vue vuex node express

h5maker's Issues

已经运行好了,但是不能添加图片,视频,也不能保存。谢谢大佬

OPTIONS http://localhost:3000/api/upload net::ERR_CONNECTION_REFUSED
dispatchXhrRequest @ xhr.js?f9de:175
xhrAdapter @ xhr.js?f9de:12
dispatchRequest @ dispatchRequest.js?1bb7:52
Promise.then (async)
request @ Axios.js?2d34:57
Axios. @ Axios.js?2d34:77
wrap @ bind.js?07f8:9
post @ http.js?2414:28
img.onload @ PicturePicker.vue?86f1:55
load (async)
fr.onload @ PicturePicker.vue?86f1:52
load (async)
fileChange @ PicturePicker.vue?86f1:49
invokeWithErrorHandling @ vue.js?7a20:1863
invoker @ vue.js?7a20:2188
original._wrapper @ vue.js?7a20:7541
http.js?2414:94 Uncaught (in promise) TypeError: Cannot read property 'status' of undefined
at errorProcess (eval at (app.js:864), :103:20)
at eval (eval at (app.js:864), :52:5)

config 这个定义缺失

@ zhengguorong 你好
npm run local 还是起不来,原因是 config这个对象缺失,具体现象如下

$ npm run local

[email protected] local /Users/youyin/Documents/h5maker
NODE_ENV=localhost node ./bin/www

/Users/youyin/Documents/h5maker/auth/auth.service.js:22
secret: config.secrets.session
^

TypeError: Cannot read property 'session' of undefined

(node:4391) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See http://mongoosejs.com/docs/connections.html#use-mongo-client MongoDB connection error: MongoError: failed to connect to server [127.0.0.1:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]

@zhengguorong 你好,我的webapp启动起来了,简洁好用!

但是在启动后台的时候报错
(node:4391) DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-client
MongoDB connection error: MongoError: failed to connect to server [127.0.0.1:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]

请问你有没有遇到这个问题,谢谢
我是Mac 系统

重构计划

这个项目已经有一段时间没更新了,界面和技术都相对陈旧,这次重构主要更新下面内容:

  1. 更新技术栈。使用vue-composition实现以方便后续迁移到vue3,后端使用eggjs。
    2.提升交互体验。开源完整的sketch设计稿,标注图。
    3.优化组件切分逻辑。

大家可以留言希望增加的功能,我会根据权重在本次重构中加入。
image

'NODE_ENV' 不是内部或外部命令,也不是可运行的程序 或批处理文件

环境 window powershell
直接执行 node .\bin\www 正常 mongodb 链接正常
但是 执行 npm run local 就是报错
image
定位到连 .\bin\www 文件都没进去 感觉是 指令的问题
NODE_ENV=localhost node ./bin/www
这种操作在powershell中不被支持,在cmd中也不被支持,这是Mac中bash或Linux的shell中的独特操作
需要写成
set NODE_ENV=localhost && node ./bin/www

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.