Skip to content
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 command to scaffold is stuck #772

Open
shirleyshan17 opened this issue Nov 16, 2022 · 0 comments
Open

yo command to scaffold is stuck #772

shirleyshan17 opened this issue Nov 16, 2022 · 0 comments

Comments

@shirleyshan17
Copy link

Hi,

Windows 10 64-bit`
My nodejs version is 10.22.1.
The npm version is 6.14.6.
yo version is 1.8.5.
I'm in china, so I have some network firewall problem. I installed the yeoman through cnpm(v 7.1).

I have a generator from OpenText called generator-csui-extension-21.1.0. (npm link )
Then I create a project folder and command 'yo csui-extension'.
I get lots of error messages like the following:

17 silly fetchPackageMetaData error for amodro-trace@^1.0.2 request to http://registry.cnpmjs.org/amodro-trace failed, reason: getaddrinfo EAI_AGAIN registry.cnpmjs.org registry.cnpmjs.org:80
18 silly fetchPackageMetaData error for csslint-stylish@^0.0.6 request to http://registry.cnpmjs.org/csslint-stylish failed, reason: getaddrinfo EAI_AGAIN registry.cnpmjs.org registry.cnpmjs.org:80
19 silly fetchPackageMetaData error for csso@^3.2.0 request to http://registry.cnpmjs.org/csso failed, reason: getaddrinfo EAI_AGAIN registry.cnpmjs.org registry.cnpmjs.org:80
20 silly fetchPackageMetaData error for eslint-config-defaults@^9.0.0 request to http://registry.cnpmjs.org/eslint-config-defaults failed, reason: getaddrinfo EAI_AGAIN registry.cnpmjs.org registry.cnpmjs.org:80

I don't know how to deal with it. Does it mean I need to install these things one by one manually?
I find there're many files in my project folder but there's nearly nothing in the project/node_modules folder.

The worse thing is that yo can't scaffold after that. If I create a new folder like project B and yo csui-extension again. There's nothing happened except create a few of empty folders in project B.
image
image

I tried to use 'yo doctor', it told me 'everything looks all right'.

Does anyone have similar problems? What can I do to deal with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant