node.js - Message: Unexpected string , while migrating model to mysql db in strongloop -


i trying migrate model class mysql db strongloop tool in node.js loopback framework.

when click migrate button showing error

oops! wrong unexpected string  message: unexpected string request: /workspace/api/datasourcedefinitions/server.mysql/autoupdate status: 500 

my model class example

{   "name": "media",   "base": "persistedmodel",   "properties": {     "path": {       "type": "string"     },     "filename": {       "type": "string"     },     "createdat": {       "type": "date",       "required": true     },     "updatedat": {       "type": "date",       "required": true     }   },   "validations": [],   "relations": {},   "acls": [],   "methods": {} } 

db source file

{   "db": {     "name": "db",     "connector": "memory"   },   "mysql": {     "host": "localhost",     "port": 3306,     "url": "mysql://root:12345678@localhost/voice",     "database": "voice",     "username": "root",     "password": "12345678",     "name": "mysql",     "connector": "mysql",     "user": "root"   } } 

please resolve issue.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -