-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Yo fails to run after install #785
Comments
I encountered the same problem. |
Same Error `Error: Cannot find module 'is-ci'
|
I have the same error in win 10, wsl2 |
Same Error. |
I encountered the same error. |
bumpty bump bump. edit: found the issue to be the root user login - ie. I was logging into the WSL2/Ubuntu container as root. Added myself as as user and set that to the default login and yo performs as expected. |
Running into the same problem on Ubuntu (no WSL):
If I attempt to run yo as a user:
node: 20.11.0 |
@mvsenin you should upgrade node to an LTS version. Unsupported versions can be dangerous for your business and your users. Now this is affecting |
@SBoudrias Hi Simon, thanks, I've done that, node version is 20.12.0, but now I'm getting the Error: Cannot find module 'is-ci'... |
Did we find a solution to this? |
After wasting few days on this, I finally installed it using WSL 2 + Ubuntu + root user then installed Superset in Ubuntu instead of Windows. This way it worked for me. |
I am facing the error today on Windows 11.
|
This issue deserves more attention IMO. At the moment the |
Fresh global instal of yo on wsl 2 with windows 11. `node:internal/modules/cjs/loader:1147 Error: Cannot find module 'is-ci'
|
Echoing verikono's comment that installing and using yo from a user other than root fixes this. |
I agree that that is a workaround, but I wouldn't consider it a fix. Specially since no other npm packages (that I know) have this issue. |
There is a lot of unknowns in this workaround :-) Would you mind describing (or linking) how to achieve this? |
Type of issue
My environment
Ubuntu 22.04.2 LTS (via WSL 2)
v18.16.0
9.5.1
4.3.0
Expected behavior
yo
command should work as normalCurrent behavior
After installing the
yo
globally I tried to runyo
command but it is throwing the error. See shell output below.Error is different for different versions of yo with same steps.
Steps to reproduce the behavior
Install
Ubuntu on WSL 2
Install
NVM
Install
Node
Install
Yo
Command line output
NOTE:
PLEASE NOTE THAT
Yo 4.3.1
THROWS A DIFFERENT ERROR WHILE PERFORMING SAME STEPSThe text was updated successfully, but these errors were encountered: