Comments (27)
Hey @pavlospolianidis, the fix has landed on master. Could you please install loopback-generator from github and let me know if your problem is fixed?
npm install -g strongloop/loopback-generator
yo loopback:relation
from generator-loopback.
@ppoliani are you running under Cygwin or some other bash-on-Windows?
from generator-loopback.
I'm using cmd.exe on windows
from generator-loopback.
According to this page http://docs.strongloop.com/display/SL/Installation+troubleshooting
Cygwin is not supported on Windows.
from generator-loopback.
How do you run the generator - via slc loopback:relation
or yo loopback:relation
?
from generator-loopback.
In case you are using slc loopback:relation
, can you reproduce the problem using yo loopback:relation
too? (You need to npm install -g generator-loopback
first in order to get yo loopback
.)
from generator-loopback.
Tried both options; didn't work
from generator-loopback.
This is most likely a bug in inquirer (SBoudrias/Inquirer.js#48) that has been fixed last year. Unfortunately we are stuck with an older version of yeoman generator at the moment and this version explicitly uses an older version of Inquirer.
I have started work on upgrading our yeoman-generator dependency, however it is not as straightforward as I would like it - see #72. Once the upgrade is done, the issue should be resolved.
from generator-loopback.
I made good progress, the patch is almost ready. I need to get yeoman/generator#711 resolved before I can continue.
from generator-loopback.
Good news @bajtos. That was really quick. I hope the other issue is resolved soon.
from generator-loopback.
Hey @bajtos, that's great! no more problems with the arrow keys; that's wonderful.
from generator-loopback.
Thank you for verifying the fix. I have released it to npmjs.org as v1.6.1
.
from generator-loopback.
@bajtos Having a problem with arrow keys on our win machines. Running windows 10, latest version of npm 2.13.4, node (io) 2.5, using standard command. Arrow keys work on slc:loopback, slc:model but do not work on relations, acl etc.
from generator-loopback.
@jamesjjk What version of loopback-generator
do you use? Please upgrade to v1.11.0
released on Aug 17th and open a new GH issue if the problem is still present. Can you reproduce the bug using different yeoman generators (see http://yeoman.io/generators/)?
from generator-loopback.
@bajtos Not having the problem with other yo generators: version
strongloop v5.0.0 (node v2.5.0)
├── [email protected] (15814c0)
├── [email protected] (9294f54)
├── [email protected] (bee617c)
├── [email protected] (1b220f7)
├── [email protected] (dbaa1a5)
├── [email protected] (f46e58f)
├── [email protected] (b17cbc0)
├─┬ [email protected] (539c0ce)
│ └── [email protected]
├── [email protected] (dec0654)
├── [email protected]
└── [email protected]
from generator-loopback.
Thanks @jamesjjk.
I am afraid I don't have a Windows10 machine at the moment, thus I cannot troubleshoot this myself now :(
from generator-loopback.
Quick resolve for Windows 10. Choose "Use legacy console (requires relaunch)" and compatibility mode "Windows 95" in far.exe (Far Manager) shortcut properties.
from generator-loopback.
A workaround: from my experience, git bash(maybe win cmd too) is not working with arrows but node cmd works.
from generator-loopback.
Well, win 10: my experience shows that arrow does not works if we need to select on the very first prompt (like choose not first model in relations). But on next questions arrows works fine.
So you can create a model with any selections as at first you type the name, and you can create relations for first model in a list, as you select it and then arrow works... Both slc
and yo
from generator-loopback.
works with ConEmu http://www.fosshub.com/ConEmu.html
from generator-loopback.
Any update on this?
from generator-loopback.
Confirmed working on ConEmu, also couldn't get it to work even in git bash or legacy console
from generator-loopback.
For windows users, I am afraid a workaround is still this one: #69 (comment)
@gvillenave
from generator-loopback.
f*cking windows. I'm stuck with this stupid issue. Incredibly weird arrow keys work sometimes and sometimes not. Any news or fix for this? I havent installed git bash
from generator-loopback.
Here is a temporary solution for Win10. Use this console: http://cmder.net/
from generator-loopback.
Any permanent solution in the works?
from generator-loopback.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
from generator-loopback.
Related Issues (20)
- [GSSC-PreTVT]Failed to see cs,pl,ru translation in cs,ru,pl HOT 15
- [GSSC-PreTVT]English string occurs when input lb in command line in JPN locale HOT 1
- [GSSC-PreTVT]English string occurs when input lb model in command line in JPN locale HOT 1
- [GSSC-PreTVT]English string occurs when input node . in command line in JPN locale HOT 1
- [GSSC-PreTVT]English string occurs when input lb acl in command line in JPN locale HOT 5
- [GSSC-PreTVT]English string occurs when input lb app in command line in JPN locale HOT 4
- [GSSC-PreTVT]English string occurs when input lb datasource in command line in JPN locale HOT 9
- [GSSC-PreTVT]English string occurs when input lb export-api-def in command line in JPN locale HOT 5
- [GSSC-PreTVT]English string occurs when input lb middleware in command line in JPN locale HOT 3
- [GSSC-PreTVT]English string occurs when input lb relation in command line in JPN locale HOT 1
- [GSSC-PreTVT]English string occurs when input lb soap in command line in JPN locale HOT 2
- [GSSC-PreTVT]English string occurs when input lb swagger in command line in JPN locale HOT 3
- [GSSC-PreTVT]English string occurs when input lb oracle in command line in JPN locale HOT 10
- [GSSC-TVT]apic lb -h: 'name' is in English HOT 5
- [GSSC-PreTVT]English string occurs when input lb acl in command line in RUS locale HOT 5
- [GSSC-PreTVT]English string occurs when input lb boot-script in command line in RUS, CHS,FRA locale HOT 2
- [GSSC-TVT]Translator need more Additional information HOT 9
- Fix the skipped test cases after upgrading to [email protected] HOT 5
- Backport translation fix to 5.x HOT 4
- lb model don't work HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-loopback.