-
Notifications
You must be signed in to change notification settings - Fork 1.2k
When using slc loopback:relation, I get [object Promise] error #2392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@subchal : Hi, could you please let me know what strongloop version you have: |
Hi Good morning, please see below C:\sairam\OMSaiRamC\FullStack\Session - 5\Week 4\loopback-server2>npm -v C:\sairam\OMSaiRamC\FullStack\Session - 5\Week 4\loopback-server2>slc -v |
Hi Good afternoon, just checking to see if you need any further information and any anticipated time frame on when you may be able to suggest next steps. Thanks in advance. |
Hi Good morning Gunipan, Just checking if you have any further guidance on the above noted issue ? |
@subchal : That seems to be a bug as I can reproduce it. We will update you on the status when it's fixed. |
Hi Gunjpan good morning - Unfortunately, I don't know how to fix it. Hence, I won't be able to submit a patch. In the meanwhile, Is there a previous version of the connector, for MongoDB, that is available for me to use ? Also, can you please let me know how long it will take to fix the bug ? Please let me know. Thanks for your help |
@subchal : It's fixed here: strongloop/generator-loopback#192 |
Hi Good morning Gunjpan, I see above "@subchal : It's fixed here: strongloop/generator-loopback#192 Can you please provide further instructions, such as, do I need to do npm uninstall loopback-connector-mongodb first, before I do npm install generator-loopback ? Also, I am bit new to Git REpo. Trying to figure out how to do the install directly from Git Repo. Any pointers will be greatly appreciated. |
Hi ssh24 good morning - Can you please provide some instructions on how i can get this fix onto my local workstation ? Can you please provide further instructions, such as, do I need to do npm uninstall loopback-connector-mongodb first, before I do npm install generator-loopback ? Also, I am bit new to Git REpo. Trying to figure out how to do the install directly from Git Repo. Any pointers will be greatly appreciated. |
@subchal: Install generator-loopback from its gitHub repo using npm. See how to do it here
NO. you just need to install generator-loopback as that's the piece was broken. |
He good morning Gunjpan thank you. Do you know when the fix will make its way I I the npm registry? |
Uh oh!
There was an error while loading. Please reload this page.
Hi good morning everyone,
I am on Windows 7. and npm version is 3.6.0. I was trying to play with slc loopback:relation concept. Whenever, I try to establish a has-many relationship between two models, I run into the [object Promise] showing up in red color at the point where I was prompted to enter the name of the relationship. I spent several hours trying to figure out what may be causing the issue.
Below is the example that I was trying to do - Please see the last line, where it says, [object Promise] - I am not able to get past this issue no matter whatever I enter.
Any clues will be greatly appreciated
The text was updated successfully, but these errors were encountered: