-
Notifications
You must be signed in to change notification settings - Fork 119
Warning: please enter the name property again. The default value provided "" is not valid for type: string #13
Comments
@crandmck ^ Is something wrong with the example? |
I did everything step by step from http://docs.strongloop.com/display/LB/Getting+started+with+LoopBack and then from Getting started page http://loopback.io/getting-started/ (which are basically the same). Working on Ubuntu. |
The problem is that "Default value[leave blank for none]" doesn't mention in any of your tutorials! I should leave blank or fill with some value? |
Ok, I got it, I must set some value in that step. You should change a tutorial if this is new. |
@bedrytskyi Thanks for the feedback, @crandmck Can you look into this? Maybe we need to update the tutorial? @davidcheung @deepakrkris I leave this up to you from here on since you are the repo owners. |
@bedrytskyi I think the error msg has been fixed by the latest version of [email protected] Please reinstall your global generator-loopback to get it work.
Test from my local with the latest generator-loopback:
|
Updated https://docs.strongloop.com/display/LB/Create+a+simple+API per @jannyHou comment ^ |
After Property name -> Property type ->Required? -> Default value[leave blank for none] it throws me an error:
Warning: please enter the name property again. The default value provided "" is not valid for type: string
And asks me to select Property type once again! What is it? Why so rough start, guys?
The text was updated successfully, but these errors were encountered: