sskyy / twenty Goto Github PK
View Code? Open in Web Editor NEWwill be the best nodejs blog system
Home Page: http://twentyjs.com
will be the best nodejs blog system
Home Page: http://twentyjs.com
error: Sending 500 ("Server Error") response:
Error (E_UNKNOWN) :: Encountered an unexpected error
: key category.id must not contain '.'
at Error ()
at Function.checkKey (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js:1450:13)
at serializeObject (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js:356:14)
at packElement (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js:858:23)
at serializeObject (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js:343:15)
at packElement (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js:858:23)
at serializeObject (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js:360:15)
at Function.serializeWithBufferAndIndex (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js:332:10)
at BSON.serializeWithBufferAndIndex (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js:1532:15)
at QueryCommand.toBinary (/usr/node/twenty-fullpackage/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/commands/query_command.js:232:35)
POST http://222.31.76.67:1337/post 500 (Internal Server Error) angular.min.js:78
但是category下能新建分类,数据库中‘分类’集也正常。
数据库用的是mongodb。
如题
我是指默认的title和category之类的对象字段,没有看到哪里有定义
可能对这套模板还有点不熟,在尝试改成社区的过程中,遇到蛮多小问题
建议多搞一个和post同样类型属性的对象,好比较两者代码上的共性和特性
情况是这样:
在A机注册成功后,A机登录成功。A机退出登录,B机无法登录,最后A机也无法成功登录了。这是出了什么问题吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.