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

Wrong main entry in the generated package.json #246

Open
nponeccop opened this issue Apr 20, 2021 · 0 comments · May be fixed by #260
Open

Wrong main entry in the generated package.json #246

nponeccop opened this issue Apr 20, 2021 · 0 comments · May be fixed by #260

Comments

@nponeccop
Copy link

The following value is generated:

"main": "generators/index.js",

But it should be generators/app/index.js as there is no generators/index.js. Probably the projectRoot passed to generator-node/generators/app is wrong:

projectRoot: 'generators',

jozefizso added a commit to jozefizso/generator-generator that referenced this issue Dec 29, 2024
Fixes yeoman#246 Wrong main entry in the generated package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants