-
Notifications
You must be signed in to change notification settings - Fork 40
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
lb
freeze at "Enter name of the directory to contain the project" question
#36
Comments
here the same! |
I got basically the same problem here, I can enter the app name but it freeze at second step when you get to choose loopback version. Same result when installed with either npm or yarn. Ctrl-C don't work got to kill -9 pid for it to exit. loopback-cli: 2.5.1 (generator-loopback@3.7.0 loopback-workspace@3.40.1) |
I can reproduce the issue with node 8.1.0. It works with node 8.0.0. |
Tried strongloop/generator-loopback (yeoman generator) and found the same behavior. Anyone able to further look into it? (I lack the know-how) |
I see the same problem with https://github.com/yeoman/generator-node. I'll open an issue for yeoman. |
It's a bug in Node 8.1. See nodejs/node#13557. |
Hi Am facing lb freeze after giving the application name. can anybody help me here since am new to loopback. |
I'm also experiencing lb freeze after giving the application name. node version - v10.7.0 anyone help please? |
I'm also encountering
|
Hi 2 months back i was trying this. i dont remember which one i was installing LTS or current. Thanks |
The problem is the same in the last node version for Windows (x64) Nodejs: 10.12.0. |
Same problème here : lb -v 4.2.1 (generator-loopback@5.9.4 loopback-workspace@4.5.0) |
Same issue here. lb -v 4.2.1 (generator-loopback@5.9.4 loopback-workspace@4.5.0) OS: Windows 10 Home Update:I was able to fix the issue after taking the following steps:
I'm not sure if rolling back the NodeJS version to 8.12 is necessary. There are a few widely, albeit not well documented pain points working with Loopback due to strong-ursa's use of native libraries. (Please note, this is unconfirmed information as I'm in a hurry to get back to developing the project at hand.) These steps allowed me to continue using Loopback CLI unhindered. Useful info: |
FWIW, we have been observing freezups on our CI servers since Node.js 10.2.0 was released, but weren't able to pinpoint the problem. You can read the discussion in nodejs/node#21210 to learn about the ways I tried to debug this problem. It would be awesome if somebody on Windows can check whether the problem can be reproduced using the latest Windows and Node.js versions. |
@bajtos I can confirm this same behavior. Node: 10.13.0 I have confirmed the same issue in Node 11.1.0 as well. |
Same here And same behaviour with any of the commands, e.g. lb datasource |
FWIW, debugging loopback-cli crashes repeatedly at marked line in screenshot. Seems to be the point the application stops responding: |
FWIW, I reinstalled loopback-cli and it's now working. (Using this: https://www.npmjs.com/package/reinstall) Can't pinpoint it to a specific thing, cause I updated the build tools (VS Studio update), updated OpenSSL and I'm on a totally different network now. |
Using the above versions, I'm not able to reproduce the error. It does lag when using the I was also able to create a datasource and model. Try updating to the latest versions and see if you're still running into the same errors. |
Closing this issue since we couldn't reproduce it. Feel free to reopen it if you still have the problem (make sure you update node/npm/dependencies) as comment #36 (comment) :) |
can reproduce on windows 10. |
@nabdelgadir, since you cannot reproduce it using
|
This issue seems to be windows specific, at least it works for me on mac and linux for node 10.15.1 |
Thanks @nabdelgadir. For those who have reported the issue here, it seems like this lagging/hanging problem no longer exist in @smartmouse, it might be a good time to upgrade to use the latest version for API Connect v2018.x. Thanks. |
Closing as resolved as this problem no longer exists in |
The problem still exist on loopback-cli@5.0.0 mac freezes on second question |
same problem on my mac |
Sorry, but I'm still facing this problem on the new version.
|
I think this PR #89 might resolve the issue. |
@hashirQburst @straeger @KietChan, there's a new issue in |
Bug or feature request
Description of feature (or steps to reproduce if bug)
I run
lb
but I only get as far as the "Enter name of the directory to contain the project" question, where I can't type anything in or exit viaCtrl-C
.Same behavior with administrative command prompt. Powershell or classic prompt doesn't affect result.
Tried re-installing
loopback-cli
(npm uninstall/install). Same.Expected result
I should be able to enter the directory name for my new project and continue.
Actual result (if bug)
Prompt stuck, not accepting input. Nothing to do but shut-down the terminal window.
Additional information (Node.js version, LoopBack version, etc)
node.js: v8.1.0
npm.js: 5.0.3
loopback-cli (via
lb -v
): 2.5.1 (generator-loopback@3.7.0 loopback-workspace@3.40.1)Windows 10 Pro 64-bit (with Creators Update; fully updated/patched as of posting)
Acceptance Criteria
The text was updated successfully, but these errors were encountered: